diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-14 22:57:05 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-14 22:57:05 +0200 |
| commit | 58c330289e0d120e2e8befc38a5a3a5c785b62c3 (patch) | |
| tree | 8e4a24f25bb65182679fddd9a0cbfb0226f3b432 /app | |
| parent | df69067b78a30010706e10e5f7860f41eecd2d65 (diff) | |
| download | turns-58c330289e0d120e2e8befc38a5a3a5c785b62c3.tar.xz turns-58c330289e0d120e2e8befc38a5a3a5c785b62c3.zip | |
app: set row subtitle
Diffstat (limited to 'app')
| -rw-r--r-- | app/src/windows/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/windows/main.cpp b/app/src/windows/main.cpp index 476545e..410d449 100644 --- a/app/src/windows/main.cpp +++ b/app/src/windows/main.cpp @@ -50,7 +50,9 @@ namespace turns::app::windows { auto participant = std::dynamic_pointer_cast<domain::participant>(item); auto widget = Gtk::make_managed<widgets::participant_list_row>(); + auto order = participant->property_order_value().get_value(); widget->set_title(participant->property_name()); + widget->set_subtitle(std::vformat(_("Order {}"), std::make_format_args(order))); return widget; } |
