forked from qt-creator/qt-creator
Show a dialog in case of mismatching build/run configurations.
This commit is contained in:
@@ -994,15 +994,6 @@ void Qt4Project::setToolChainType(BuildConfiguration *configuration, ProjectExpl
|
||||
|
||||
void Qt4Project::updateActiveRunConfiguration()
|
||||
{
|
||||
const QSharedPointer<RunConfiguration> activeRunConfig = activeRunConfiguration();
|
||||
if (!activeRunConfig.isNull() && !activeRunConfig->isEnabled()) {
|
||||
foreach (const QSharedPointer<RunConfiguration> &runConfiguration, runConfigurations()) {
|
||||
if (runConfiguration->isEnabled()) {
|
||||
setActiveRunConfiguration(runConfiguration);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
emit runConfigurationsEnabledStateChanged();
|
||||
emit targetInformationChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user