diff options
-rw-r--r-- | Libraries/LibGUI/AbstractView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/AbstractView.cpp b/Libraries/LibGUI/AbstractView.cpp index 9c4aeb4b48..9c3c9c49df 100644 --- a/Libraries/LibGUI/AbstractView.cpp +++ b/Libraries/LibGUI/AbstractView.cpp @@ -424,7 +424,7 @@ void AbstractView::set_cursor(ModelIndex index, SelectionUpdate selection_update if (model()->is_valid(index)) { if (selection_update == SelectionUpdate::Set) - selection().set(index); + set_selection(index); else if (selection_update == SelectionUpdate::Ctrl) toggle_selection(index); |