diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-04-15 01:33:47 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2015-04-15 01:33:47 +0200 |
commit | 491fa0f222c9e8e182b1e9430e7b20500235383f (patch) | |
tree | 4f460f023b034868dbd3cd02ee27803ea0c7159a | |
parent | e8a8abb73015c8d627618df33f521e39499c1103 (diff) | |
parent | 52dc34943fd9cfefcbc9236e0c134a68a8b59cf4 (diff) |
Merge pull request #24 from rdoeffinger/bugfix_start_error
Start process only after we finished disabling UI elements etc.
-rw-r--r-- | mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 03899c66..c5cd4d46 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -258,10 +258,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()); } |