Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Dubrow2011-02-28 16:00:31 -0500
committerDavid Dubrow2011-02-28 16:00:31 -0500
commitc4247231cea31d31dd2226326fc8649a138fdddf (patch)
tree0e5beebde58697996d1d75890ced2165c128433c
parentfede2eb62d3791ddcffaa2cf00530ac7eedefcee (diff)
downloadorg.eclipse.cdt-c4247231cea31d31dd2226326fc8649a138fdddf.tar.gz
org.eclipse.cdt-c4247231cea31d31dd2226326fc8649a138fdddf.tar.xz
org.eclipse.cdt-c4247231cea31d31dd2226326fc8649a138fdddf.zip
Don't trigger listener when data hasn't changed
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java
index 5d9536ba05..b0b6b8bfb3 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java
@@ -521,7 +521,8 @@ public abstract class CAbstractMainTab extends CLaunchConfigurationTab {
} catch (CoreException ce) {
LaunchUIPlugin.log(ce);
}
- fProjText.setText(projectName);
+ if (!fProjText.getText().equals(projectName))
+ fProjText.setText(projectName);
updateBuildConfigCombo(configName);
}

Back to the top