]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Roolback last changes
authorabd <abd@opencascade.com>
Thu, 9 Nov 2006 06:34:58 +0000 (06:34 +0000)
committerabd <abd@opencascade.com>
Thu, 9 Nov 2006 06:34:58 +0000 (06:34 +0000)
src/SMESHGUI/SMESHGUI_MeshOp.cxx

index a7b402cdd37537798b9007dee90ca2dde67a307b..ffca225e5b6dc5036f39bb3a39fb95e8dfb1eb2e 100644 (file)
@@ -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");