From: vsv Date: Thu, 27 Mar 2008 15:06:43 +0000 (+0000) Subject: Hide scaling button (bug 19383) X-Git-Tag: V5_0_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=14a4430a0a5bebcb75e29d62c3113436a173c247;p=modules%2Fvisu.git Hide scaling button (bug 19383) --- diff --git a/src/VVTK/VVTK_MainWindow.cxx b/src/VVTK/VVTK_MainWindow.cxx index 2395f8d0..6ad3dbb7 100644 --- a/src/VVTK/VVTK_MainWindow.cxx +++ b/src/VVTK/VVTK_MainWindow.cxx @@ -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" ) ),