From 7758fbc7522b39bad768abfa728b37c97007ffb6 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 15 Jul 2024 17:07:56 +0200 Subject: app: only conditionally enable clear action --- app/include/turns/app/windows/main.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/include/turns') diff --git a/app/include/turns/app/windows/main.hpp b/app/include/turns/app/windows/main.hpp index 1ba1df5..694876e 100644 --- a/app/include/turns/app/windows/main.hpp +++ b/app/include/turns/app/windows/main.hpp @@ -4,6 +4,7 @@ #include "turns/domain/turn_order.hpp" #include +#include #include #include #include @@ -40,8 +41,11 @@ namespace turns::app::windows Glib::PropertyProxy m_subtitle; + Glib::RefPtr m_clear_action_enabled{}; Glib::RefPtr m_visible_child_widget{}; Glib::RefPtr m_subtitle_text{}; + + Glib::RefPtr m_clear_action{}; }; } // namespace turns::app::windows -- cgit v1.2.3