ProjectExplorer: Take run mode *really* into account

Change-Id: Iab69e43a1c6e06dadb5a193d827b7673f09e87c9
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2017-07-18 14:56:59 +02:00
parent 5a87c17c82
commit 41ae823bda

View File

@@ -483,7 +483,7 @@ static WorkerFactories &theWorkerFactories()
bool RunControl::WorkerFactory::canRun(RunConfiguration *runConfiguration, Core::Id runMode) const
{
if (runMode != runMode)
if (runMode != this->runMode)
return false;
if (!constraint)
return true;