┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/selectionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selectionmanager.cpp')
-rw-r--r--src/selectionmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/selectionmanager.cpp b/src/selectionmanager.cpp
index 248b4288d..af92e63d0 100644
--- a/src/selectionmanager.cpp
+++ b/src/selectionmanager.cpp
@@ -106,6 +106,7 @@ void SelectionManager::setItemSelected(bool selected)
QItemSelectionModel* selModel = m_view->selectionModel();
if (selected) {
selModel->select(index, QItemSelectionModel::Select);
+ selModel->setCurrentIndex(index, QItemSelectionModel::Select);
} else {
selModel->select(index, QItemSelectionModel::Deselect);
}