From: David ‘Bombe’ Roden Date: Mon, 2 Jun 2008 14:32:30 +0000 (+0200) Subject: fix repaint after set default file X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=613e245ef1d3734166064de26d73d36e2bfccea7;p=jSite2.git fix repaint after set default file --- 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") {