From: David ‘Bombe’ Roden Date: Tue, 28 Aug 2012 12:19:58 +0000 (+0200) Subject: Disable “ignore hidden files” checkbox and “re-scan” button during scanning. X-Git-Tag: 0.11^2~15 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0263367aa488f5daf636b5ca7231b4049182a8e5;p=jSite.git Disable “ignore hidden files” checkbox and “re-scan” button during scanning. --- diff --git a/src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java b/src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java index 9321d6e..002e0ad 100644 --- a/src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java +++ b/src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java @@ -415,6 +415,9 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis wizard.setPreviousEnabled(false); wizard.setQuitEnabled(false); + ignoreHiddenFilesCheckBox.setEnabled(false); + scanAction.setEnabled(false); + delayedNotification = new DelayedNotification(scanningFilesDialog, 2000); new Thread(fileScanner).start(); new Thread(delayedNotification).start(); @@ -484,6 +487,8 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis wizard.setPreviousEnabled(true); wizard.setNextEnabled(!error); wizard.setQuitEnabled(true); + ignoreHiddenFilesCheckBox.setEnabled(true); + scanAction.setEnabled(true); } }); }