]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESHGUI/SMESHGUI_Operation.cxx
Salome HOME
*** empty log message ***
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Operation.cxx
index e43e0a68bab36606375e4788738ce6c2a7c76b2c..29a4067535ba678f7dc77426789688c6cefb05b7 100755 (executable)
@@ -70,8 +70,9 @@ void SMESHGUI_Operation::startOperation()
     if( dlg()->testButtonFlags( QtxDialog::Cancel ) )
       connect( dlg(), SIGNAL( dlgCancel() ), this, SLOT( onCancel() ) );
       
-    if( dlg()->testButtonFlags( QtxDialog::Close ) )
-      connect( dlg(), SIGNAL( dlgClose() ), this, SLOT( onCancel() ) );
+    //if( dlg()->testButtonFlags( QtxDialog::Close ) )
+    //if dialog hasn't close, cancel, no and etc buttons, dlgClose will be emitted when dialog is closed not by OK
+    connect( dlg(), SIGNAL( dlgClose() ), this, SLOT( onCancel() ) );
 
     initDialog();
   }