From 0d076f6be70fafae60ae7d6a197ee06999b48af6 Mon Sep 17 00:00:00 2001 From: Oleg Krasilnikov Date: Thu, 31 May 2007 11:57:45 +0000 Subject: [PATCH] Bug #190057 : Changing configuration... --- .../src/org/eclipse/cdt/ui/newui/AbstractPage.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java index 8c670d74030..48949cf1879 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java @@ -508,6 +508,9 @@ implements cfgDescs = CDTPropertyManager.getProjectDescription(this, getProject()).getConfigurations(); if (cfgDescs == null || cfgDescs.length == 0) return; Arrays.sort(cfgDescs, CDTListComparator.getInstance()); + } else { + // just register in CDTPropertyManager; + CDTPropertyManager.getProjectDescription(this, getProject()); } // Clear and replace the contents of the selector widget @@ -685,8 +688,8 @@ implements excludeFromBuildCheck.setEnabled(resd.canExclude(!resd.isExcluded())); excludeFromBuildCheck.setSelection(resd.isExcluded()); } - - for (int i=0; i