diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-14 22:56:55 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-14 22:56:55 +0200 |
| commit | df69067b78a30010706e10e5f7860f41eecd2d65 (patch) | |
| tree | 966770eb0e92b08263baca25745ffd3ab6125976 /app | |
| parent | 9c1a9f41e2cef7f6e151a5f08367607e16d0f908 (diff) | |
| download | turns-df69067b78a30010706e10e5f7860f41eecd2d65.tar.xz turns-df69067b78a30010706e10e5f7860f41eecd2d65.zip | |
app/ui: make row title non-editable
Diffstat (limited to 'app')
| -rw-r--r-- | app/include/turns/app/widgets/participant_list_row.hpp | 3 | ||||
| -rw-r--r-- | app/src/widgets/participant_list_row.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
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 <glibmm/ustring.h> #include <gtkmm/button.h> -#include <gtkmm/editablelabel.h> #include <gtkmm/label.h> #include <gtkmm/listboxrow.h> #include <gtkmm/togglebutton.h> @@ -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<Gtk::Button>("delete"); m_edit = get_widget<Gtk::Button>("edit"); m_subtitle = get_widget<Gtk::Label>("subtitle"); - m_title = get_widget<Gtk::EditableLabel>("title"); + m_title = get_widget<Gtk::Label>("title"); m_toggle_defeated = get_widget<Gtk::ToggleButton>("toggle_defeated"); signal_map().connect([this]{ |
