Activate the “previous” button on the preferences page.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 30 Jan 2010 14:36:06 +0000 (15:36 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 30 Jan 2010 14:36:06 +0000 (15:36 +0100)
src/de/todesbaum/jsite/main/Main.java

index 017f1c5..84a9611 100644 (file)
@@ -553,7 +553,7 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen
         */
        public void wizardPreviousPressed(TWizard wizard) {
                String pageName = wizard.getPage().getName();
-               if ("page.project".equals(pageName)) {
+               if ("page.project".equals(pageName) || "page.preferences".equals(pageName)) {
                        showPage(PageType.PAGE_NODE_MANAGER);
                } else if ("page.project.files".equals(pageName)) {
                        showPage(PageType.PAGE_PROJECTS);