From: adv Date: Fri, 17 Jan 2014 09:42:12 +0000 (+0000) Subject: Exlude the user input during process events by application (Bug #325). X-Git-Tag: BR_hydro_v_1_0~65 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f34b90e9e4e02ba65419134d5d37a2e42aecfabf;p=modules%2Fhydro.git Exlude the user input during process events by application (Bug #325). --- 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(); }