From: David ‘Bombe’ Roden Date: Tue, 22 Dec 2009 20:56:49 +0000 (+0100) Subject: Enable and disable preferences action when starting the insert. X-Git-Tag: 0.8~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d664a3cb8f12e77e5b1a42415fdeb96faef47607;p=jSite.git Enable and disable preferences action when starting the insert. --- diff --git a/src/de/todesbaum/jsite/main/Main.java b/src/de/todesbaum/jsite/main/Main.java index 2efe017..263c346 100644 --- a/src/de/todesbaum/jsite/main/Main.java +++ b/src/de/todesbaum/jsite/main/Main.java @@ -562,9 +562,11 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen projectInsertPage.setTempDirectory(tempDirectory); projectInsertPage.startInsert(); nodeMenu.setEnabled(false); + optionsPreferencesAction.setEnabled(false); } else if ("page.project.insert".equals(pageName)) { showPage(PageType.PAGE_PROJECTS); nodeMenu.setEnabled(true); + optionsPreferencesAction.setEnabled(true); } else if ("page.preferences".equals(pageName)) { showPage(PageType.PAGE_PROJECTS); optionsPreferencesAction.setEnabled(true);