From: David ‘Bombe’ Roden Date: Tue, 22 Dec 2009 20:32:01 +0000 (+0100) Subject: Enable button when a directory is set. X-Git-Tag: 0.8~4 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b9527cfbbd5c4c39b353006f87c51e3ba9f99135;p=jSite.git Enable button when a directory is set. --- diff --git a/src/de/todesbaum/jsite/gui/PreferencesPage.java b/src/de/todesbaum/jsite/gui/PreferencesPage.java index 3eb7bc7..2513582 100644 --- a/src/de/todesbaum/jsite/gui/PreferencesPage.java +++ b/src/de/todesbaum/jsite/gui/PreferencesPage.java @@ -118,6 +118,7 @@ public class PreferencesPage extends TWizardPage { tempDirectoryTextField.setText((tempDirectory != null) ? tempDirectory : ""); if (tempDirectory != null) { customTempDirectory.setSelected(true); + chooseTempDirectoryAction.setEnabled(true); } else { defaultTempDirectory.setSelected(true); }