mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug # 192810
This commit is contained in:
parent
27051c284a
commit
cca2b142b4
2 changed files with 4 additions and 8 deletions
|
@ -111,7 +111,7 @@ public class CDTConfigWizardPage extends WizardPage {
|
|||
|
||||
public CfgHolder[] getCfgItems(boolean getDefault) {
|
||||
CfgHolder[] its;
|
||||
if (getDefault || table == null)
|
||||
if (getDefault || table == null || !isVisited())
|
||||
its = getDefaultCfgs(handler);
|
||||
else {
|
||||
ArrayList out = new ArrayList(table.getItemCount());
|
||||
|
|
|
@ -400,14 +400,10 @@ public class MBSWizardHandler extends CWizardHandler {
|
|||
ICProjectDescriptionManager mngr = CoreModel.getDefault().getProjectDescriptionManager();
|
||||
ICProjectDescription des = mngr.createProjectDescription(project, false, !onFinish);
|
||||
ManagedBuildInfo info = ManagedBuildManager.createBuildInfo(project);
|
||||
if (defaults) {
|
||||
cfgs = CDTConfigWizardPage.getDefaultCfgs(this);
|
||||
} else {
|
||||
getConfigPage(); // ensure that page is created
|
||||
cfgs = fConfigPage.getCfgItems(defaults);
|
||||
|
||||
cfgs = fConfigPage.getCfgItems(false);
|
||||
if (cfgs == null || cfgs.length == 0)
|
||||
cfgs = CDTConfigWizardPage.getDefaultCfgs(this);
|
||||
}
|
||||
|
||||
if (cfgs == null || cfgs.length == 0 || cfgs[0].getConfiguration() == null) {
|
||||
throw new CoreException(new Status(IStatus.ERROR,
|
||||
|
|
Loading…
Add table
Reference in a new issue