1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:18:11 +00:00

FileManager: Disable view change actions when directory is unreadable

Closes #3556.
This commit is contained in:
Linus Groh 2021-03-07 16:04:59 +01:00 committed by Andreas Kling
parent 1ccf9de6b9
commit a0362d827c
3 changed files with 8 additions and 5 deletions

View file

@ -81,7 +81,7 @@ public:
void launch(const URL&, const LauncherHandler&) const;
Function<void(const StringView& path, bool can_write_in_path)> on_path_change;
Function<void(const StringView& path, bool can_read_in_path, bool can_write_in_path)> on_path_change;
Function<void(GUI::AbstractView&)> on_selection_change;
Function<void(const GUI::ModelIndex&, const GUI::ContextMenuEvent&)> on_context_menu_request;
Function<void(const StringView&)> on_status_message;