1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 17:05:07 +00:00

FileManager: Keep the window title in sync with the current path.

This commit is contained in:
Andreas Kling 2019-03-01 14:34:53 +01:00
parent 574a399347
commit 1ab995bfff

View file

@ -23,6 +23,9 @@ void DirectoryTableView::model_notification(const GModelNotification& notificati
model().row_count() != 1 ? "s" : "",
model().bytes_in_files(),
model().bytes_in_files() != 1 ? "s" : ""));
if (on_path_change)
on_path_change(model().path());
}
}