Commit f4a72877 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Use sendPostedEvents() since processEvents() doesn't process all events.

parent d00d84de
...@@ -305,6 +305,8 @@ void pqEventDispatcher::processEventsAndWait(int ms) ...@@ -305,6 +305,8 @@ void pqEventDispatcher::processEventsAndWait(int ms)
loop.exec(); loop.exec();
} }
QApplication::processEvents(); QApplication::processEvents();
QApplication::sendPostedEvents();
QApplication::processEvents();
pqEventDispatcher::DeferMenuTimeouts = prev; pqEventDispatcher::DeferMenuTimeouts = prev;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment