forked from qt-creator/qt-creator
ProjectExplorer: Take run mode *really* into account
Change-Id: Iab69e43a1c6e06dadb5a193d827b7673f09e87c9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -483,7 +483,7 @@ static WorkerFactories &theWorkerFactories()
|
|||||||
|
|
||||||
bool RunControl::WorkerFactory::canRun(RunConfiguration *runConfiguration, Core::Id runMode) const
|
bool RunControl::WorkerFactory::canRun(RunConfiguration *runConfiguration, Core::Id runMode) const
|
||||||
{
|
{
|
||||||
if (runMode != runMode)
|
if (runMode != this->runMode)
|
||||||
return false;
|
return false;
|
||||||
if (!constraint)
|
if (!constraint)
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user