From f34b90e9e4e02ba65419134d5d37a2e42aecfabf Mon Sep 17 00:00:00 2001 From: adv Date: Fri, 17 Jan 2014 09:42:12 +0000 Subject: [PATCH] Exlude the user input during process events by application (Bug #325). --- src/HYDROGUI/HYDROGUI_CalculationOp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HYDROGUI/HYDROGUI_CalculationOp.cxx b/src/HYDROGUI/HYDROGUI_CalculationOp.cxx index aead39e1..377e821b 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationOp.cxx +++ b/src/HYDROGUI/HYDROGUI_CalculationOp.cxx @@ -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(); } -- 2.39.2