diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-18 15:38:11 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-19 08:57:05 +0000 |
commit | ba3299f0d2ea814cc6534919b6b8b4a5cbfde861 (patch) | |
tree | 4238f870eb432a60c4642c62f7fdcd6945b8d0cb /src/plugins/projectexplorer/appoutputpane.cpp | |
parent | 1d364880f911f6f7466637ddf2b6693072a0f373 (diff) |
ProjectExplorer: Do not treat a starting run control as finished
... when assigning tabs in the app output pane.
Task-number: QTCREATORBUG-29044
Change-Id: I49e3d3ac3822692ffacd9821a0dd61377aae02cd
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/projectexplorer/appoutputpane.cpp')
-rw-r--r-- | src/plugins/projectexplorer/appoutputpane.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index 3e1927faeb..6f7e22bacd 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -397,7 +397,7 @@ void AppOutputPane::createNewOutputWindow(RunControl *rc) const Environment thisEnvironment = rc->environment(); const auto tab = std::find_if(m_runControlTabs.begin(), m_runControlTabs.end(), [&](const RunControlTab &tab) { - if (!tab.runControl || tab.runControl->isRunning()) + if (!tab.runControl || tab.runControl->isRunning() || tab.runControl->isStarting()) return false; return thisCommand == tab.runControl->commandLine() && thisWorkingDirectory == tab.runControl->workingDirectory() |