X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSHAPERGUI%2FSHAPERGUI_SalomeViewer.cpp;h=e31903dc438e223dee05e5d10eaeee58be5f36b1;hb=220bd2b37119be1c65abf88a88792445cb9d99f8;hp=b4a65ead87a200e4461b9420f3638b637b3ecd7c;hpb=4d84ccf9dfa30be18dea333e6a77495e0516ba92;p=modules%2Fshaper.git diff --git a/src/SHAPERGUI/SHAPERGUI_SalomeViewer.cpp b/src/SHAPERGUI/SHAPERGUI_SalomeViewer.cpp index b4a65ead8..e31903dc4 100644 --- a/src/SHAPERGUI/SHAPERGUI_SalomeViewer.cpp +++ b/src/SHAPERGUI/SHAPERGUI_SalomeViewer.cpp @@ -314,7 +314,7 @@ bool SHAPERGUI_SalomeViewer::enableDrawMode(bool isEnabled) //********************************************** void SHAPERGUI_SalomeViewer::reconnectActions(SUIT_ViewWindow* theWindow, - const bool theUseNewGeomSlot) + const bool theUseSHAPERSlot) { OCCViewer_ViewWindow* aWindow = dynamic_cast(theWindow); if (!aWindow) @@ -324,7 +324,7 @@ void SHAPERGUI_SalomeViewer::reconnectActions(SUIT_ViewWindow* theWindow, if (!anAction) return; - if (theUseNewGeomSlot) { + if (theUseSHAPERSlot) { anAction->disconnect(anAction, SIGNAL(toggled(bool)), theWindow, SLOT(onTrihedronShow(bool))); anAction->connect(anAction, SIGNAL(toggled(bool)),