1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Fix for bugzilla 75529 -- [Managed Build] Shouldn't go to the beginning on configuration changing

This commit is contained in:
Sean Evoy 2005-02-04 22:07:01 +00:00
parent ae97aa9b2a
commit 401c7a5866

View file

@ -402,10 +402,11 @@ public class ToolsSettingsBlock extends AbstractCOptionPage {
// There is a selected tool defined // There is a selected tool defined
primary = selectedTool; primary = selectedTool;
} else if (selectedCategory != null) { } else if (selectedCategory != null) {
// if (selectedCategory != null) {
// There is a selected option or category // There is a selected option or category
primary = selectedCategory; primary = selectedCategory;
} else { }
if (primary == null) {
// Select the first tool in the list // Select the first tool in the list
Object[] elements = null; Object[] elements = null;
if( element instanceof IProject){ if( element instanceof IProject){