Salome HOME
IPAL0051782: TC7.2.0: Incorrect operation of the dialog box "Filter" for creation...
authormpa <mpa@opencascade.com>
Mon, 25 Mar 2013 06:54:18 +0000 (06:54 +0000)
committermpa <mpa@opencascade.com>
Mon, 25 Mar 2013 06:54:18 +0000 (06:54 +0000)
src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx

index 0a2ec7b6663e1d82fd262458c05ca6ad2b280eae..e299f6293c97bed50f83d452e7628945279b3cdc 100644 (file)
@@ -466,8 +466,11 @@ bool SMESHGUI_FilterLibraryDlg::onApply()
 //=======================================================================
 void SMESHGUI_FilterLibraryDlg::onOk()
 {
-  if (onApply())
-    reject();
+  if (onApply()) {
+    disconnect( mySMESHGUI, 0, this, 0);
+    mySMESHGUI->ResetState();
+    accept();
+  }
 }
 
 //=======================================================================