//=================================================================================
bool SMESHGUI_NodesOp::onApply()
{
- if( getSMESHGUI()->isActiveStudyLocked() || !mySimulation )
+ if( isStudyLocked() || !mySimulation )
return false;
if( mesh()->_is_nil()) {