mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +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: 99e301510e
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);
|
m_force_delete_action->set_enabled(can_delete);
|
||||||
|
|
||||||
if (on_selection_change)
|
if (on_selection_change)
|
||||||
on_selection_change(*m_table_view);
|
on_selection_change(current_view());
|
||||||
}
|
}
|
||||||
|
|
||||||
void DirectoryView::setup_actions()
|
void DirectoryView::setup_actions()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue