IPAL0051782: TC7.2.0: Incorrect operation of the dialog box "Filter" for creation of the group

This commit is contained in:
mpa 2013-03-25 06:54:18 +00:00
parent 19db10b4ce
commit 93616350f1

View 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();
}
}
//=======================================================================