From 176f69c1e1684e25beb60aa5406579e099aaf42d Mon Sep 17 00:00:00 2001 From: nkv Date: Fri, 6 Jun 2008 06:12:43 +0000 Subject: [PATCH] Update toolbar buttons --- src/SVTK/SVTK_MainWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2