mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 09:17:36 +00:00
FileManager: Call on_selection_change with the correct view
This commit is contained in:
parent
3f808b0dda
commit
99e301510e
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