mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
FileManager: Call on_selection_change with the correct view
This commit is contained in:
parent
3f808b0dda
commit
99e301510e
Notes:
sideshowbarker
2024-07-19 01:08:14 +09:00
Author: https://github.com/supex0fan Commit: https://github.com/SerenityOS/serenity/commit/99e301510ea Pull-request: https://github.com/SerenityOS/serenity/pull/4284 Issue: https://github.com/SerenityOS/serenity/issues/4185 Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ void DirectoryView::handle_selection_change()
|
|||
m_force_delete_action->set_enabled(can_delete);
|
||||
|
||||
if (on_selection_change)
|
||||
on_selection_change(*m_table_view);
|
||||
on_selection_change(current_view());
|
||||
}
|
||||
|
||||
void DirectoryView::setup_actions()
|
||||
|
|
Loading…
Add table
Reference in a new issue