LibGUI: Remove GModel activations to GAbstractView.

Now you can hook activation via GAbstractView::on_activation.
The design still isn't quite right, we should eventually move the selection
away from the model somehow.
This commit is contained in:
Andreas Kling 2019-05-09 04:56:52 +02:00
parent bffaa5ece6
commit fa232ac180
Notes: sideshowbarker 2024-07-19 14:11:19 +09:00
25 changed files with 107 additions and 104 deletions

View file

@ -44,8 +44,6 @@ void GModel::set_selected_index(const GModelIndex& index)
for_each_view([] (auto& view) {
view.did_update_selection();
});
if (m_activates_on_selection && is_valid(index))
activate(index);
}
GModelIndex GModel::create_index(int row, int column, void* data) const