forked from qt-creator/qt-creator
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:
@@ -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()));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user