From f4a728772dbc31994a313acbf7af969ea90f5952 Mon Sep 17 00:00:00 2001 From: Utkarsh Ayachit Date: Thu, 8 Mar 2012 15:16:31 -0500 Subject: [PATCH] Use sendPostedEvents() since processEvents() doesn't process all events. --- pqEventDispatcher.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pqEventDispatcher.cxx b/pqEventDispatcher.cxx index 387d0cb..1bcd0d3 100644 --- a/pqEventDispatcher.cxx +++ b/pqEventDispatcher.cxx @@ -305,6 +305,8 @@ void pqEventDispatcher::processEventsAndWait(int ms) loop.exec(); } QApplication::processEvents(); + QApplication::sendPostedEvents(); + QApplication::processEvents(); pqEventDispatcher::DeferMenuTimeouts = prev; } -- GitLab