From: ouv Date: Wed, 19 Nov 2008 09:55:20 +0000 (+0000) Subject: Dump Python extension X-Git-Tag: TG_DumpPython_Extension_3~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=47f4dbb0e5fc33057a8c5c039fdedc17009aab7c;p=modules%2Fgui.git Dump Python extension --- diff --git a/src/SalomeApp/SalomeApp_NoteBookDlg.cxx b/src/SalomeApp/SalomeApp_NoteBookDlg.cxx index 3e9ef3d69..ccfe06cf3 100644 --- a/src/SalomeApp/SalomeApp_NoteBookDlg.cxx +++ b/src/SalomeApp/SalomeApp_NoteBookDlg.cxx @@ -729,7 +729,8 @@ SalomeApp_NoteBookDlg::~SalomeApp_NoteBookDlg(){} void SalomeApp_NoteBookDlg::onOK() { onApply(); - hide(); + if( myTable->IsValid() ) + accept(); } //============================================================================