]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Restore the cursor if necessary(apart from, it concerns the bug IPAL11302).
authormzn <mzn@opencascade.com>
Fri, 10 Mar 2006 09:05:27 +0000 (09:05 +0000)
committermzn <mzn@opencascade.com>
Fri, 10 Mar 2006 09:05:27 +0000 (09:05 +0000)
src/SUIT/SUIT_ExceptionHandler.cxx

index 39109341837ddc3c5a13a5ccf871be3a00d58040..851291d4ebf3035143e4093837ad89c3f9b85fdc 100755 (executable)
@@ -49,6 +49,9 @@ void SUIT_ExceptionHandler::showMessage( const QString& title, const QString& ms
 {
   if ( !qApp )
     return;
-
+  
+  while ( QApplication::overrideCursor() )
+    QApplication::restoreOverrideCursor();
+  
   SUIT_MessageBox::error1( qApp->mainWidget(), title, msg, "OK" );
 }