]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Dump Python extension
authorouv <ouv@opencascade.com>
Wed, 19 Nov 2008 09:55:20 +0000 (09:55 +0000)
committerouv <ouv@opencascade.com>
Wed, 19 Nov 2008 09:55:20 +0000 (09:55 +0000)
src/SalomeApp/SalomeApp_NoteBookDlg.cxx

index 3e9ef3d693c05bf42789d299004b9bcc862af3a3..ccfe06cf3954318073735c97ca4c3d72507c6eb2 100644 (file)
@@ -729,7 +729,8 @@ SalomeApp_NoteBookDlg::~SalomeApp_NoteBookDlg(){}
 void SalomeApp_NoteBookDlg::onOK()
 {
   onApply();
-  hide();
+  if( myTable->IsValid() )
+    accept();
 }
 
 //============================================================================