SciNotes: code navigator was broken 79/14279/2
Calixte DENIZET [Tue, 1 Apr 2014 14:47:21 +0000 (16:47 +0200)]
Change-Id: I7b26b75847935c1177d97e69a3e6778929e63ec5

scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/utils/NavigatorWindow.java

index 59ccad3..101354e 100644 (file)
@@ -128,6 +128,7 @@ public final class NavigatorWindow extends SwingScilabDockablePanel implements D
         super(SciNotesMessages.CODE_NAVIGATOR, uuid == null ? UUID.randomUUID().toString() : uuid);
         this.editor = editor;
         editor.addNavigator(this);
+        setContentPane(new javax.swing.JPanel());
         ConfigSciNotesManager.saveCodeNavigatorState(editor.getPersistentId(), getPersistentId());
         WindowsConfigurationManager.restorationFinished(this);
     }