Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Evoy2005-02-04 22:07:01 +0000
committerSean Evoy2005-02-04 22:07:01 +0000
commit401c7a58660e53d4c901047bca79d73d779cf034 (patch)
treeab07b5320543bc8278398a3d9dbdd330a204ab29 /build/org.eclipse.cdt.managedbuilder.ui/src
parentae97aa9b2a6894455ca3f50f82ba5e94c54bbe4d (diff)
downloadorg.eclipse.cdt-401c7a58660e53d4c901047bca79d73d779cf034.tar.gz
org.eclipse.cdt-401c7a58660e53d4c901047bca79d73d779cf034.tar.xz
org.eclipse.cdt-401c7a58660e53d4c901047bca79d73d779cf034.zip
Fix for bugzilla 75529 -- [Managed Build] Shouldn't go to the beginning on configuration changing
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.ui/src')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/ToolsSettingsBlock.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/ToolsSettingsBlock.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/ToolsSettingsBlock.java
index f551f4cfef..85ebe279eb 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/ToolsSettingsBlock.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/ToolsSettingsBlock.java
@@ -402,10 +402,11 @@ public class ToolsSettingsBlock extends AbstractCOptionPage {
// There is a selected tool defined
primary = selectedTool;
} else if (selectedCategory != null) {
-// if (selectedCategory != null) {
// There is a selected option or category
primary = selectedCategory;
- } else {
+ }
+
+ if (primary == null) {
// Select the first tool in the list
Object[] elements = null;
if( element instanceof IProject){

Back to the top