Commit f7acbc58 authored by Daniel Teske's avatar Daniel Teske
Browse files

RunSettingsPage: En/disable Rename button correctly



Change-Id: I052961575f5ccc423a751ad28c5547003967663b
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 9489496c
......@@ -331,6 +331,7 @@ void RunSettingsWidget::activeRunConfigurationChanged()
m_runConfigurationCombo->setCurrentIndex(actRc.row());
setConfigurationWidget(m_runConfigurationsModel->runConfigurationAt(actRc.row()));
m_ignoreChange = false;
m_renameRunButton->setEnabled(m_target->activeRunConfiguration());
}
void RunSettingsWidget::renameRunConfiguration()
......@@ -482,6 +483,8 @@ void RunSettingsWidget::updateDeployConfiguration(DeployConfiguration *dc)
m_deployConfigurationCombo->setCurrentIndex(-1);
m_renameDeployButton->setEnabled(dc);
if (!dc)
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment