From: David ‘Bombe’ Roden Date: Sat, 30 Jan 2010 14:36:25 +0000 (+0100) Subject: Re-enable the “preferences” menu item when navigating away from the preferences page. X-Git-Tag: 0.9~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=65470bcf4e7bcf3643782f1ec87104ab228ad972;p=jSite.git Re-enable the “preferences” menu item when navigating away from the preferences page. --- 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)) {