Enable button when a directory is set.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 22 Dec 2009 20:32:01 +0000 (21:32 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 22 Dec 2009 20:32:01 +0000 (21:32 +0100)
src/de/todesbaum/jsite/gui/PreferencesPage.java

index 3eb7bc7..2513582 100644 (file)
@@ -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);
                }