]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Additional fix for the "0021239: EDF 1829 OCC: Bring to front selected objects" issue.
authorrnv <rnv@opencascade.com>
Wed, 14 Mar 2012 13:58:03 +0000 (13:58 +0000)
committerrnv <rnv@opencascade.com>
Wed, 14 Mar 2012 13:58:03 +0000 (13:58 +0000)
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx

index 3a002dbfa9bc95c56b47ff477e0518016912a473..9057a8988dfbfa5214478890d01fc7716bfe01f0 100644 (file)
@@ -23,8 +23,6 @@
 //  File   : GEOMToolsGUI_1.cxx
 //  Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com)
 
-#define protected public
-
 #include <PyConsole_Console.h>
 
 #include "GEOMToolsGUI.h"
@@ -1232,7 +1230,7 @@ void GEOMToolsGUI::OnBringToFront() {
   
   bool isOCC = ( window && window->getViewManager()->getType() == OCCViewer_Viewer::Type() );
 
-  QAction* a = getGeometryGUI()->action( GEOMOp::OpBringToFront );
+  QAction* a = getGeometryGUI()->getAction( GEOMOp::OpBringToFront );
   bool checked = a->isChecked();
   
   if ( isOCC ) {