]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Update toolbar buttons
authornkv <nkv@opencascade.com>
Fri, 6 Jun 2008 06:12:43 +0000 (06:12 +0000)
committernkv <nkv@opencascade.com>
Fri, 6 Jun 2008 06:12:43 +0000 (06:12 +0000)
src/SVTK/SVTK_MainWindow.cxx

index 5ba722889532923429710c0c029c9979091ef585..bc668cf690607af9be7f82442abb6c56ab9d4230 100644 (file)
@@ -804,7 +804,7 @@ SVTK_MainWindow
 
 void SVTK_MainWindow::activateProjectionMode(int mode)
 {
-  SVTK_ComboAction* a = ::qobject_cast<SVTK_ComboAction*>( action(ProjectionModeId) );
+  SVTK_ComboAction* a = ::qobject_cast<SVTK_ComboAction*>( toolMgr()->action( ProjectionModeId ) );
   if ( a ) a->setCurrentIndex(mode);
 }