From 267cb3454290162e97582b6126d8815202af0541 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Thu, 20 Feb 2020 15:34:06 +0200 Subject: [PATCH] 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 --- src/plugins/projectexplorer/buildmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp index 663cf22f8e4..720b501681d 100644 --- a/src/plugins/projectexplorer/buildmanager.cpp +++ b/src/plugins/projectexplorer/buildmanager.cpp @@ -791,6 +791,7 @@ bool BuildManager::buildLists(const QList bsls, const QStringLi bool success = buildQueueAppend(steps, names, preambelMessage); if (!success) { d->m_outputWindow->popup(IOutputPane::NoModeSwitch); + d->m_isDeploying = false; return false; }