From 2293cd9e21873f7ce21a1046cb66052c55543a45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 13 Nov 2008 00:59:43 +0100 Subject: [PATCH] Repaint tree when insert override is {,de}activated. --- src/net/pterodactylus/jsite/gui/FileManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net/pterodactylus/jsite/gui/FileManager.java b/src/net/pterodactylus/jsite/gui/FileManager.java index 98e9d80..1d81bd8 100644 --- a/src/net/pterodactylus/jsite/gui/FileManager.java +++ b/src/net/pterodactylus/jsite/gui/FileManager.java @@ -362,6 +362,8 @@ public class FileManager extends JDialog implements I18nable, TreeSelectionListe project.removeFileOverride(projectFile); } } + fileTree.setShowsRootHandles(false); + fileTree.repaint(); } }; overrideInsertDefaultAction.setEnabled(false); -- 2.7.4