Salome HOME
getSMESHGUI()->isActiveStudyLocked() is replaced by
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_EditHypothesesOp.cxx
index 115ce0e14d162fb985f0432d600dfa0f216a01a7..ceef91df8a9192693b0ec9edaf68fd8ff6e1c84f 100644 (file)
@@ -109,7 +109,7 @@ void SMESHGUI_EditHypothesesOp::selectionDone()
 //=================================================================================
 bool SMESHGUI_EditHypothesesOp::onApply()
 {
-  if( getSMESHGUI()->isActiveStudyLocked() )
+  if( isStudyLocked() )
     return false;
 
   bool aRes = false;