diff options
Diffstat (limited to 'Libraries/LibGUI/GDialog.cpp')
-rw-r--r-- | Libraries/LibGUI/GDialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/GDialog.cpp b/Libraries/LibGUI/GDialog.cpp index eaa3359f39..a3cd4a5e0f 100644 --- a/Libraries/LibGUI/GDialog.cpp +++ b/Libraries/LibGUI/GDialog.cpp @@ -29,6 +29,7 @@ int GDialog::exec() auto result = m_event_loop->exec(); m_event_loop = nullptr; dbgprintf("%s: event loop returned with result %d\n", class_name(), result); + remove_from_parent(); return result; } |