summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 44003833..5ba1ace9 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -257,10 +257,10 @@ void MainWindow::executeWrapper(QString app, QString args, QString input) {
env << "GNUPGHOME=" + absHome.path();
process->setEnvironment(env);
}
- process->start('"' + app + "\" " + args);
ui->textBrowser->clear();
ui->textBrowser->setTextColor(Qt::black);
enableUiElements(false);
+ process->start('"' + app + "\" " + args);
if (!input.isEmpty()) {
process->write(input.toUtf8());
}