diff options
Diffstat (limited to 'Libraries/LibGUI/GApplication.cpp')
-rw-r--r-- | Libraries/LibGUI/GApplication.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Libraries/LibGUI/GApplication.cpp b/Libraries/LibGUI/GApplication.cpp index ef671eb032..9bdd7af840 100644 --- a/Libraries/LibGUI/GApplication.cpp +++ b/Libraries/LibGUI/GApplication.cpp @@ -119,6 +119,12 @@ void GApplication::hide_tooltip() } } +void GApplication::did_create_window(Badge<GWindow>) +{ + if (m_event_loop->was_exit_requested()) + m_event_loop->unquit(); +} + void GApplication::did_delete_last_window(Badge<GWindow>) { if (m_quit_when_last_window_deleted) |