From 650b41ba12056014fd7d939857e09c2b2f9ccc1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 22 Dec 2009 08:16:33 +0100 Subject: [PATCH] Propagate temp directory from preferences page to project inserter. --- 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 993add2..5c657ba 100644 --- a/src/de/todesbaum/jsite/main/Main.java +++ b/src/de/todesbaum/jsite/main/Main.java @@ -556,6 +556,8 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen } else if ("page.preferences".equals(pageName)) { showPage(PageType.PAGE_PROJECTS); optionsPreferencesAction.setEnabled(true); + String tempDirectory = ((PreferencesPage) pages.get(PageType.PAGE_PREFERENCES)).getTempDirectory(); + ((ProjectInsertPage) pages.get(PageType.PAGE_INSERT_PROJECT)).setTempDirectory(tempDirectory); } } -- 2.7.4