]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Exlude the user input during process events by application (Bug #325).
authoradv <adv@opencascade.com>
Fri, 17 Jan 2014 09:42:12 +0000 (09:42 +0000)
committeradv <adv@opencascade.com>
Fri, 17 Jan 2014 09:42:12 +0000 (09:42 +0000)
src/HYDROGUI/HYDROGUI_CalculationOp.cxx

index aead39e1fb0abb6ba1e696d386d9fb4e073d1178..377e821bd26123f93e0aed521f49c743bc0f86ac 100644 (file)
@@ -715,7 +715,7 @@ void HYDROGUI_CalculationOp::createPreview()
       }
 
       //Process the draw events for viewer
-      QApplication::processEvents();
+      QApplication::processEvents( QEventLoop::ExcludeUserInputEvents );
       if ( OCCViewer_ViewWindow* vw = (OCCViewer_ViewWindow*)myPreviewViewManager->getActiveView() )
         vw->onTopView();
     }