forked from qt-creator/qt-creator
Androdi: set m_isDeploying to false if deployment is cancelled
If Android deploy dialog is cancelled, then "Run" is clicked again, the deploy dialog will not show again. Instead, a build is started then fail in deploying because no device was actually selected. This makes sure d->m_isDeploying = false in BuildManager. Change-Id: I8cb899fa57df30b3669e42d30d0f280f8f73fb38 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -791,6 +791,7 @@ bool BuildManager::buildLists(const QList<BuildStepList *> bsls, const QStringLi
|
||||
bool success = buildQueueAppend(steps, names, preambelMessage);
|
||||
if (!success) {
|
||||
d->m_outputWindow->popup(IOutputPane::NoModeSwitch);
|
||||
d->m_isDeploying = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user