From: ouv Date: Sat, 29 Nov 2008 14:57:24 +0000 (+0000) Subject: Dump Python extension X-Git-Tag: TG_DumpPython_Extension_3~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3948c12714ff35f0aa25ad306543d9581115f494;p=modules%2Fgui.git Dump Python extension --- diff --git a/src/SalomeApp/SalomeApp_NoteBookDlg.cxx b/src/SalomeApp/SalomeApp_NoteBookDlg.cxx index 7af153779..d321db431 100644 --- a/src/SalomeApp/SalomeApp_NoteBookDlg.cxx +++ b/src/SalomeApp/SalomeApp_NoteBookDlg.cxx @@ -829,6 +829,8 @@ void SalomeApp_NoteBookDlg::onRemove() void SalomeApp_NoteBookDlg::onUpdateStudy() { onApply(); + if( !myTable->IsValid() ) + return; QApplication::setOverrideCursor( Qt::WaitCursor );