fix repaint after set default file
[jSite2.git] / src / net / pterodactylus / jsite / gui / FileManager.java
index 5bd52e8..e513d23 100644 (file)
@@ -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") {