ios: fix update of executable path in the UI

We now update after the profile has parsed, not when it is changed.

Change-Id: I70bf9bed85c77677d0ece0d7b99dff590a9e4d47
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Fawzi Mohamed
2014-03-27 18:50:08 +01:00
parent cc6dd54379
commit 04948228bb
2 changed files with 6 additions and 2 deletions

View File

@@ -137,8 +137,10 @@ void IosRunConfiguration::proFileUpdated(QmakeProjectManager::QmakeProFileNode *
return;
m_parseSuccess = success;
m_parseInProgress = parseInProgress;
if (success && !parseInProgress)
if (success && !parseInProgress) {
updateDisplayNames();
emit localExecutableChanged();
}
enabledCheck();
}
@@ -374,7 +376,7 @@ IosRunConfigurationWidget::IosRunConfigurationWidget(IosRunConfiguration *runCon
SLOT(setDeviceTypeIndex(int)));
connect(m_ui->argumentsLineEdit, SIGNAL(editingFinished()),
SLOT(argumentsLineEditTextEdited()));
connect(runConfiguration->target(), SIGNAL(buildDirectoryChanged()),
connect(runConfiguration, SIGNAL(localExecutableChanged()),
SLOT(updateValues()));
}