Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Dubrow2011-02-28 20:58:11 +0000
committerDavid Dubrow2011-02-28 20:58:11 +0000
commitbef52e225a5f29e8e85ffafc5c8c6ffbce13f2b6 (patch)
tree5ad7d0adf0b90780d401d1b4eb4bd2126be48b67 /launch/org.eclipse.cdt.launch
parentd8361893bfd8d2dae4bf00be464166fbba4e07ab (diff)
downloadorg.eclipse.cdt-bef52e225a5f29e8e85ffafc5c8c6ffbce13f2b6.tar.gz
org.eclipse.cdt-bef52e225a5f29e8e85ffafc5c8c6ffbce13f2b6.tar.xz
org.eclipse.cdt-bef52e225a5f29e8e85ffafc5c8c6ffbce13f2b6.zip
Don't trigger listener when data hasn't changed
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-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 d9478a305b..9189f4ade1 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
@@ -561,7 +561,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