]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Hide scaling button (bug 19383)
authorvsv <vsv@opencascade.com>
Thu, 27 Mar 2008 15:06:43 +0000 (15:06 +0000)
committervsv <vsv@opencascade.com>
Thu, 27 Mar 2008 15:06:43 +0000 (15:06 +0000)
src/VVTK/VVTK_MainWindow.cxx

index 2395f8d01bb6291907bf8d172fa0359e6878cd03..6ad3dbb7e63877fc8a56168b3fdd0c896fa53042 100644 (file)
@@ -80,12 +80,12 @@ VVTK_MainWindow
   if ( getToolBar() ) 
     addToolBar( Qt::LeftToolBarArea, getToolBar() );
 
-  //TO DO:
-  //myActionsMap[NonIsometric]->removeFrom(myToolBar);
-
   QtxAction* anAction = 0;
   QtxActionToolMgr* mgr = myViewWindow->toolMgr();
 
+  //myActionsMap[NonIsometric]->removeFrom(myToolBar);
+  mgr->remove(NonIsometric, myToolBar);
+
   // Dump view
   anAction = new QtxAction(tr("MNU_DUMP_VIEW"), 
                           theResourceMgr->loadPixmap( "VTKViewer", tr( "ICON_VTKVIEWER_VIEW_DUMP" ) ),