Salome HOME
Simplify activation of local selection on all objects
[modules/geom.git] / src / EntityGUI / EntityGUI_SketcherDlg.cxx
index f489c89c2e029bc718fbfe6847c2e44a7f2c6227..6b0248b08c2c9986ec43ec78cd3f5f11890ecb83 100644 (file)
@@ -541,7 +541,7 @@ void EntityGUI_SketcherDlg::InitClick()
   Group4Spin->hide();
   GroupRect->hide();
   globalSelection(); // close local selection to clear it
-  localSelection( GEOM::GEOM_Object::_nil(), TopAbs_VERTEX );
+  localSelection( TopAbs_VERTEX );
 }
 
 
@@ -1571,7 +1571,7 @@ void EntityGUI_SketcherDlg::SetEditCurrentArgument()
     selButton->setDown(true);
   }
   globalSelection(); // close local selection to clear it
-  localSelection(GEOM::GEOM_Object::_nil(), myNeedType);
+  localSelection( myNeedType );
 }