Salome HOME
Merge from BR_WIN_INDUS_514 04/10/2010
[modules/geom.git] / src / EntityGUI / EntityGUI_SketcherDlg.cxx
index 8538d514faee0f37e1acf84c371cf0a3b1d85b4d..7e7188652967d7a07eb47d1652cd48386961b7f2 100644 (file)
@@ -1047,7 +1047,7 @@ void EntityGUI_SketcherDlg::ActivateThisDialog()
 //=================================================================================
 void EntityGUI_SketcherDlg::enterEvent( QEvent* )
 {
-  if ( !MainWidget->GroupConstructors->isEnabled() )
+  if ( !isEnabled() )
     ActivateThisDialog();
 }