diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-01 14:34:53 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-01 14:34:53 +0100 |
commit | 1ab995bfff8d26d49f8b29e0a9d909cc466c7859 (patch) | |
tree | df1309d7293ebacf636a06f39feed9ff79b52f4a /Applications | |
parent | 574a39934763b91ccc9d35973bf336a404b6de98 (diff) | |
download | serenity-1ab995bfff8d26d49f8b29e0a9d909cc466c7859.zip |
FileManager: Keep the window title in sync with the current path.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/FileManager/DirectoryTableView.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Applications/FileManager/DirectoryTableView.cpp b/Applications/FileManager/DirectoryTableView.cpp index cbc274a7aa..0d49aaaa26 100644 --- a/Applications/FileManager/DirectoryTableView.cpp +++ b/Applications/FileManager/DirectoryTableView.cpp @@ -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()); } } |