From: nkv Date: Fri, 6 Jun 2008 06:12:43 +0000 (+0000) Subject: Update toolbar buttons X-Git-Tag: TG_VISU_2008_2008-06-26~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=176f69c1e1684e25beb60aa5406579e099aaf42d;p=modules%2Fgui.git Update toolbar buttons --- diff --git a/src/SVTK/SVTK_MainWindow.cxx b/src/SVTK/SVTK_MainWindow.cxx index 5ba722889..bc668cf69 100644 --- a/src/SVTK/SVTK_MainWindow.cxx +++ b/src/SVTK/SVTK_MainWindow.cxx @@ -804,7 +804,7 @@ SVTK_MainWindow void SVTK_MainWindow::activateProjectionMode(int mode) { - SVTK_ComboAction* a = ::qobject_cast( action(ProjectionModeId) ); + SVTK_ComboAction* a = ::qobject_cast( toolMgr()->action( ProjectionModeId ) ); if ( a ) a->setCurrentIndex(mode); }