1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for [Bug 193311] Custom operation not run when "Finish" is pressed on the first page of the project creation wizard

This commit is contained in:
Mikhail Sennikovsky 2007-06-19 13:03:11 +00:00
parent 6ecb92cf5b
commit eac8b67c21
2 changed files with 4 additions and 3 deletions

View file

@ -79,7 +79,7 @@ public class CDTConfigWizardPage extends WizardPage {
setWizard(h.getWizard()); setWizard(h.getWizard());
} }
private void addCustomPages() { void addCustomPages() {
if (pagesLoaded) return; if (pagesLoaded) return;
pagesLoaded = true; pagesLoaded = true;

View file

@ -453,8 +453,9 @@ public class MBSWizardHandler extends CWizardHandler {
doPostProcess(project); doPostProcess(project);
// process custom pages // process custom pages
if (fConfigPage != null && fConfigPage.pagesLoaded) // if (fConfigPage != null && fConfigPage.pagesLoaded)
doCustom(); getConfigPage().addCustomPages();
doCustom();
} }
protected void doPostProcess(IProject prj) { protected void doPostProcess(IProject prj) {