summaryrefslogtreecommitdiff
path: root/LibGUI/GModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibGUI/GModel.cpp')
-rw-r--r--LibGUI/GModel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/LibGUI/GModel.cpp b/LibGUI/GModel.cpp
index 0447b27d02..454d9996d5 100644
--- a/LibGUI/GModel.cpp
+++ b/LibGUI/GModel.cpp
@@ -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