From 8d8776dd2ace5b6bfc4b5265e1f300ec253a53f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 21 Dec 2009 21:55:45 +0100 Subject: [PATCH] =?utf8?q?Enable=20=E2=80=9Cnext=E2=80=9D=20button=20in=20?= =?utf8?q?preferences=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/de/todesbaum/jsite/main/Main.java | 5 +++++ 1 file changed, 5 insertions(+) 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); } } -- 2.7.4