From: rnv Date: Wed, 14 Mar 2012 13:58:03 +0000 (+0000) Subject: Additional fix for the "0021239: EDF 1829 OCC: Bring to front selected objects" issue. X-Git-Tag: V6_5_0a1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eee32dc0208b10acdb3ae1738300dcd2921a6d2f;p=modules%2Fgeom.git Additional fix for the "0021239: EDF 1829 OCC: Bring to front selected objects" issue. --- diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx index 3a002dbfa..9057a8988 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx @@ -23,8 +23,6 @@ // File : GEOMToolsGUI_1.cxx // Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com) -#define protected public - #include #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 ) {