From 47f4dbb0e5fc33057a8c5c039fdedc17009aab7c Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 19 Nov 2008 09:55:20 +0000 Subject: [PATCH] Dump Python extension --- src/SalomeApp/SalomeApp_NoteBookDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } //============================================================================ -- 2.39.2