Commit 9e20de5a authored by Daniel Teske's avatar Daniel Teske
Browse files

Fix MiniProjectTargetSelector not reacting to project page target switch



And also add a missing updateActionAndSummary call

Change-Id: I2734ad1ef3ad4c22b97f0d2586cddcca6dc39f89
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 44602220
...@@ -822,6 +822,8 @@ void MiniProjectTargetSelector::activeTargetChanged(ProjectExplorer::Target *tar ...@@ -822,6 +822,8 @@ void MiniProjectTargetSelector::activeTargetChanged(ProjectExplorer::Target *tar
m_target = target; m_target = target;
m_listWidgets[TARGET]->setActiveProjectConfiguration(m_target);
if (m_buildConfiguration) if (m_buildConfiguration)
disconnect(m_buildConfiguration, SIGNAL(displayNameChanged()), disconnect(m_buildConfiguration, SIGNAL(displayNameChanged()),
this, SLOT(updateActionAndSummary())); this, SLOT(updateActionAndSummary()));
...@@ -906,6 +908,7 @@ void MiniProjectTargetSelector::activeDeployConfigurationChanged(ProjectExplorer ...@@ -906,6 +908,7 @@ void MiniProjectTargetSelector::activeDeployConfigurationChanged(ProjectExplorer
connect(m_deployConfiguration, SIGNAL(displayNameChanged()), connect(m_deployConfiguration, SIGNAL(displayNameChanged()),
this, SLOT(updateActionAndSummary())); this, SLOT(updateActionAndSummary()));
m_listWidgets[DEPLOY]->setActiveProjectConfiguration(dc); m_listWidgets[DEPLOY]->setActiveProjectConfiguration(dc);
updateActionAndSummary();
} }
void MiniProjectTargetSelector::activeRunConfigurationChanged(ProjectExplorer::RunConfiguration *rc) void MiniProjectTargetSelector::activeRunConfigurationChanged(ProjectExplorer::RunConfiguration *rc)
......
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