From 8380bd43b904300ad59fd4ef3824d4609a71d709 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 16 Sep 2019 19:31:18 +0300 Subject: [PATCH] Use separate widget class for Dialog --- source/dialog.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/dialog.h b/source/dialog.h index aa4380a..f7ec239 100644 --- a/source/dialog.h +++ b/source/dialog.h @@ -31,6 +31,8 @@ private: public: Dialog(); + virtual const char *get_class() const { return "dialog"; } + /** Adds an action button to the dialog. Pressing the button will invoke response handlers and delete the dialog. */ void add_button(Button &, int); -- 2.43.0