mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
FileManager: Keep the window title in sync with the current path.
This commit is contained in:
parent
574a399347
commit
1ab995bfff
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ void DirectoryTableView::model_notification(const GModelNotification& notificati
|
||||||
model().row_count() != 1 ? "s" : "",
|
model().row_count() != 1 ? "s" : "",
|
||||||
model().bytes_in_files(),
|
model().bytes_in_files(),
|
||||||
model().bytes_in_files() != 1 ? "s" : ""));
|
model().bytes_in_files() != 1 ? "s" : ""));
|
||||||
|
|
||||||
|
if (on_path_change)
|
||||||
|
on_path_change(model().path());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue