From 65470bcf4e7bcf3643782f1ec87104ab228ad972 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 30 Jan 2010 15:36:25 +0100 Subject: [PATCH] =?utf8?q?Re-enable=20the=20=E2=80=9Cpreferences=E2=80=9D?= =?utf8?q?=20menu=20item=20when=20navigating=20away=20from=20the=20prefere?= =?utf8?q?nces=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/de/todesbaum/jsite/main/Main.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/de/todesbaum/jsite/main/Main.java b/src/de/todesbaum/jsite/main/Main.java index 84a9611..bc9ddb2 100644 --- a/src/de/todesbaum/jsite/main/Main.java +++ b/src/de/todesbaum/jsite/main/Main.java @@ -209,6 +209,7 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent actionEvent) { showPage(PageType.PAGE_NODE_MANAGER); + optionsPreferencesAction.setEnabled(true); wizard.setPreviousName(I18n.getMessage("jsite.wizard.previous")); wizard.setNextName(I18n.getMessage("jsite.wizard.next")); } @@ -555,6 +556,7 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen String pageName = wizard.getPage().getName(); if ("page.project".equals(pageName) || "page.preferences".equals(pageName)) { showPage(PageType.PAGE_NODE_MANAGER); + optionsPreferencesAction.setEnabled(true); } else if ("page.project.files".equals(pageName)) { showPage(PageType.PAGE_PROJECTS); } else if ("page.project.insert".equals(pageName)) { -- 2.7.4