forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/6.0'
Change-Id: I405e3f95b0cdcd7b2686f31baae16c03c787f007
This commit is contained in:
@@ -605,9 +605,10 @@ void AppOutputPane::stopRunControl()
|
||||
RunControl *rc = m_runControlTabs.at(index).runControl;
|
||||
QTC_ASSERT(rc, return);
|
||||
|
||||
if (rc->isRunning() && optionallyPromptToStop(rc))
|
||||
rc->initiateStop();
|
||||
else {
|
||||
if (rc->isRunning()) {
|
||||
if (optionallyPromptToStop(rc))
|
||||
rc->initiateStop();
|
||||
} else {
|
||||
QTC_CHECK(false);
|
||||
rc->forceStop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user