From: abd Date: Thu, 9 Nov 2006 06:34:58 +0000 (+0000) Subject: Roolback last changes X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5403386b9850c22e2f632e4566729b2ddb9050e6;p=modules%2Fsmesh.git Roolback last changes --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index a7b402cdd..ffca225e5 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -854,9 +854,6 @@ void SMESHGUI_MeshOp::createHypothesis (const int theDim, { // During a hypothesis creation we might need to select some objects. // Main dialog must not update it's own selected objects in this case. - - // but the state of the ToggleButtons should be saved to restore it later - LightApp_SimpleGuiStateMap dlgState = dlg()->getActiveState(); dlg()->deactivateAll(); HypothesisData* aData = SMESH::GetHypothesisData(theTypeName.latin1()); @@ -885,8 +882,6 @@ void SMESHGUI_MeshOp::createHypothesis (const int theDim, SMESH::CreateHypothesis(theTypeName, aData->Label, false); } } - // restore the state of toggle buttons: - dlg()->restoreState(dlgState); _PTR(SComponent) aFather = SMESH::GetActiveStudyDocument()->FindComponent("SMESH");