toolbar_visible default is %t 76/14276/2
Antoine ELIAS [Tue, 1 Apr 2014 14:26:58 +0000 (16:26 +0200)]
Change-Id: I5d041d8a23d5dcacf0e4189380f328c13b2206cd

scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/tab/SwingScilabCommonPanel.java

index 63b26c8..8e54da0 100644 (file)
@@ -114,7 +114,7 @@ public class SwingScilabCommonPanel {
                     }
 
                     ToolBar toolbar = ToolBarBuilder.buildToolBar(GRAPHICS_TOOLBAR_DESCRIPTOR, figureId);
-                    toolbar.setVisible(false/*localFigure.getToolbarVisible()*/);
+                    toolbar.setVisible(currentVisible);
                     component.setToolBar(toolbar);
                     parentWindow.addToolBar(toolbar);
                     //force redraw to get good value on contentpane.getHeight