summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-25 18:31:26 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-25 18:31:26 +0200
commita48f6b15960e20697682221db9a9449ea3cbf8be (patch)
tree24eede4a9872ecaeaa14d6c9da28e0be6b2f82e5 /ui
parent904601abbc7c97d3c4b9b8224708e51c51d860ec (diff)
downloadturns-a48f6b15960e20697682221db9a9449ea3cbf8be.tar.xz
turns-a48f6b15960e20697682221db9a9449ea3cbf8be.zip
ui/tracker: set title according to file
Diffstat (limited to 'ui')
-rw-r--r--ui/src/windows/tracker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/windows/tracker.cpp b/ui/src/windows/tracker.cpp
index 5571aca..e292165 100644
--- a/ui/src/windows/tracker.cpp
+++ b/ui/src/windows/tracker.cpp
@@ -123,6 +123,7 @@ namespace turns::ui::windows
auto message = std::vformat(_(lang::successfully_saved_format), std::make_format_args(name));
auto toast = adw_toast_new(message.c_str());
adw_toast_overlay_add_toast(m_overlay, toast);
+ set_title(std::format("{} - {}", _(lang::turns), name));
}
catch (Gtk::DialogError const & e)
{