Skip to content

Commit

Permalink
GUI2: call events pump when showing non-modal dialogs
Browse files Browse the repository at this point in the history
This allows the dialog to actually show
  • Loading branch information
Vultraz committed Mar 29, 2016
1 parent 576a88e commit 6091050
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/widgets/window.cpp
Expand Up @@ -586,6 +586,8 @@ void twindow::show_non_modal(/*const unsigned auto_close_timeout*/)
*/
invalidate_layout();
suspend_drawing_ = false;

events::pump();
}

int twindow::show(const bool restore, const unsigned auto_close_timeout)
Expand Down

0 comments on commit 6091050

Please sign in to comment.