From: David ‘Bombe’ Roden Date: Wed, 12 Nov 2008 23:59:43 +0000 (+0100) Subject: Repaint tree when insert override is {,de}activated. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2293cd9e21873f7ce21a1046cb66052c55543a45;p=jSite2.git Repaint tree when insert override is {,de}activated. --- 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);