Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Exlude the user input during process events by application (Bug #325).
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_CalculationOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_CalculationOp.cxx
b/src/HYDROGUI/HYDROGUI_CalculationOp.cxx
index 9ebcae43c9d47725d0ba35ac81e05eef135e21cc..377e821bd26123f93e0aed521f49c743bc0f86ac 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_CalculationOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_CalculationOp.cxx
@@
-505,7
+505,7
@@
bool HYDROGUI_CalculationOp::processApply( int& theUpdateFlags,
if ( !aPanel )
return false;
if ( !aPanel )
return false;
- theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced;
+ theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced
| UF_VTKViewer | UF_VTK_Forced | UF_VTK_Init
;
return true;
}
return true;
}
@@
-715,7
+715,7
@@
void HYDROGUI_CalculationOp::createPreview()
}
//Process the draw events for viewer
}
//Process the draw events for viewer
- QApplication::processEvents();
+ QApplication::processEvents(
QEventLoop::ExcludeUserInputEvents
);
if ( OCCViewer_ViewWindow* vw = (OCCViewer_ViewWindow*)myPreviewViewManager->getActiveView() )
vw->onTopView();
}
if ( OCCViewer_ViewWindow* vw = (OCCViewer_ViewWindow*)myPreviewViewManager->getActiveView() )
vw->onTopView();
}