From: David ‘Bombe’ Roden Date: Mon, 21 Dec 2009 20:55:45 +0000 (+0100) Subject: Enable “next” button in preferences page. X-Git-Tag: 0.8~35 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8d8776dd2ace5b6bfc4b5265e1f300ec253a53f7;p=jSite.git Enable “next” button in preferences page. --- diff --git a/src/de/todesbaum/jsite/main/Main.java b/src/de/todesbaum/jsite/main/Main.java index 5a836f3..993add2 100644 --- a/src/de/todesbaum/jsite/main/Main.java +++ b/src/de/todesbaum/jsite/main/Main.java @@ -439,6 +439,8 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen */ private void optionsPreferences() { showPage(PageType.PAGE_PREFERENCES); + optionsPreferencesAction.setEnabled(false); + wizard.setNextEnabled(true); } /** @@ -551,6 +553,9 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen } else if ("page.project.insert".equals(pageName)) { showPage(PageType.PAGE_PROJECTS); nodeMenu.setEnabled(true); + } else if ("page.preferences".equals(pageName)) { + showPage(PageType.PAGE_PROJECTS); + optionsPreferencesAction.setEnabled(true); } }