OSDN Git Service

Maemo: Bugfix: Update state of run config when deploy settings change.
authorChristian Kandeler <christian.kandeler@nokia.com>
Fri, 8 Oct 2010 13:14:23 +0000 (15:14 +0200)
committerChristian Kandeler <christian.kandeler@nokia.com>
Fri, 8 Oct 2010 13:38:38 +0000 (15:38 +0200)
An added or removed deployment setting for an executable
can change whether it's runnable or not.

Reviewed-by: Tobias Hunger
src/plugins/qt4projectmanager/qt-maemo/maemorunconfigurationwidget.cpp

index c2f8e57..ddc20d8 100644 (file)
@@ -284,6 +284,7 @@ void MaemoRunConfigurationWidget::updateTargetInformation()
 void MaemoRunConfigurationWidget::handleDeploySpecsChanged()
 {
     m_remoteExecutableLabel->setText(m_runConfiguration->remoteExecutableFilePath());
+    m_runConfiguration->updateFactoryState();
 }
 
 void MaemoRunConfigurationWidget::handleBuildConfigChanged()