From 93616350f1f4c700b86b0d02ab7e80393179a1ad Mon Sep 17 00:00:00 2001 From: mpa Date: Mon, 25 Mar 2013 06:54:18 +0000 Subject: [PATCH] IPAL0051782: TC7.2.0: Incorrect operation of the dialog box "Filter" for creation of the group --- src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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(); + } } //======================================================================= -- 2.39.2