From: mpa Date: Mon, 25 Mar 2013 06:54:18 +0000 (+0000) Subject: IPAL0051782: TC7.2.0: Incorrect operation of the dialog box "Filter" for creation... X-Git-Tag: V7_2_0b1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=93616350f1f4c700b86b0d02ab7e80393179a1ad;p=modules%2Fsmesh.git IPAL0051782: TC7.2.0: Incorrect operation of the dialog box "Filter" for creation of the group --- diff --git a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx index 0a2ec7b66..e299f6293 100644 --- a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx @@ -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(); + } } //=======================================================================