From 613e245ef1d3734166064de26d73d36e2bfccea7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 2 Jun 2008 16:32:30 +0200 Subject: [PATCH] fix repaint after set default file --- 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 5bd52e8..e513d23 100644 --- a/src/net/pterodactylus/jsite/gui/FileManager.java +++ b/src/net/pterodactylus/jsite/gui/FileManager.java @@ -275,6 +275,8 @@ public class FileManager extends JDialog implements I18nable, TreeSelectionListe } String completePath = projectFileWrapper.getProjectFile().getCompletePath(); project.setDefaultFile(completePath); + fileTree.setShowsRootHandles(false); + fileTree.repaint(); } }; applyInsertOverrideAction = new I18nAction("fileManager.menu.item.applyInsertOverride") { -- 2.7.4