diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/Dialog.h')
-rw-r--r-- | Userland/Libraries/LibGUI/Dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/Dialog.h b/Userland/Libraries/LibGUI/Dialog.h index 4f7b869932..a78b9536a3 100644 --- a/Userland/Libraries/LibGUI/Dialog.h +++ b/Userland/Libraries/LibGUI/Dialog.h @@ -52,6 +52,8 @@ public: protected: explicit Dialog(Window* parent_window, ScreenPosition = ScreenPosition::CenterWithinParent); + virtual void on_done(ExecResult) { } + private: OwnPtr<Core::EventLoop> m_event_loop; ExecResult m_result { ExecResult::Aborted }; |