From a535352b12b5b11c04c64f187062771f1ba790ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 14 Nov 2008 19:34:54 +0100 Subject: [PATCH] Hide file manager window when no default file is set. --- src/net/pterodactylus/jsite/gui/FileManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/pterodactylus/jsite/gui/FileManager.java b/src/net/pterodactylus/jsite/gui/FileManager.java index 953e05d..f1f461f 100644 --- a/src/net/pterodactylus/jsite/gui/FileManager.java +++ b/src/net/pterodactylus/jsite/gui/FileManager.java @@ -267,8 +267,8 @@ public class FileManager extends JDialog implements I18nable, TreeSelectionListe JOptionPane.showMessageDialog(FileManager.this, I18n.get(""), I18n.get(""), JOptionPane.ERROR_MESSAGE); return; } - setVisible(false); } + setVisible(false); } }; rescanAction = new I18nAction("fileManager.button.rescan") { -- 2.7.4