Repaint tree when insert override is {,de}activated.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Nov 2008 23:59:43 +0000 (00:59 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Nov 2008 23:59:43 +0000 (00:59 +0100)
src/net/pterodactylus/jsite/gui/FileManager.java

index 98e9d80..1d81bd8 100644 (file)
@@ -362,6 +362,8 @@ public class FileManager extends JDialog implements I18nable, TreeSelectionListe
                                                project.removeFileOverride(projectFile);
                                        }
                                }
+                               fileTree.setShowsRootHandles(false);
+                               fileTree.repaint();
                        }
                };
                overrideInsertDefaultAction.setEnabled(false);