diff options
Diffstat (limited to 'src/plugins/vcsbase/wizard/vcscommandpage.cpp')
-rw-r--r-- | src/plugins/vcsbase/wizard/vcscommandpage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/wizard/vcscommandpage.cpp b/src/plugins/vcsbase/wizard/vcscommandpage.cpp index bf86416f5f..73681ba726 100644 --- a/src/plugins/vcsbase/wizard/vcscommandpage.cpp +++ b/src/plugins/vcsbase/wizard/vcscommandpage.cpp @@ -365,7 +365,9 @@ void VcsCommandPage::start(VcsCommand *command) connect(command, &VcsCommand::stdErrText, this, [this](const QString &text) { m_formatter->appendMessage(text, StdErrFormat); }); - connect(command, &VcsCommand::finished, this, &VcsCommandPage::finished); + connect(command, &VcsCommand::done, this, [this] { + finished(m_command->result() == ProcessResult::FinishedWithSuccess); + }); QApplication::setOverrideCursor(Qt::WaitCursor); m_logPlainTextEdit->clear(); m_overwriteOutput = false; |