From df69067b78a30010706e10e5f7860f41eecd2d65 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 14 Jul 2024 22:56:55 +0200 Subject: app/ui: make row title non-editable --- app/include/turns/app/widgets/participant_list_row.hpp | 3 +-- app/src/widgets/participant_list_row.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/include/turns/app/widgets/participant_list_row.hpp b/app/include/turns/app/widgets/participant_list_row.hpp index f282992..2e3b176 100644 --- a/app/include/turns/app/widgets/participant_list_row.hpp +++ b/app/include/turns/app/widgets/participant_list_row.hpp @@ -7,7 +7,6 @@ #include #include -#include #include #include #include @@ -36,7 +35,7 @@ namespace turns::app::widgets Gtk::Button * m_delete; Gtk::Button * m_edit; Gtk::Label * m_subtitle; - Gtk::EditableLabel * m_title; + Gtk::Label * m_title; Gtk::ToggleButton * m_toggle_defeated; }; } // namespace turns::app::widgets diff --git a/app/src/widgets/participant_list_row.cpp b/app/src/widgets/participant_list_row.cpp index 11715d3..94350f8 100644 --- a/app/src/widgets/participant_list_row.cpp +++ b/app/src/widgets/participant_list_row.cpp @@ -21,7 +21,7 @@ namespace turns::app::widgets m_delete = get_widget("delete"); m_edit = get_widget("edit"); m_subtitle = get_widget("subtitle"); - m_title = get_widget("title"); + m_title = get_widget("title"); m_toggle_defeated = get_widget("toggle_defeated"); signal_map().connect([this]{ -- cgit v1.2.3