┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphincolumnwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp
index 4bcf01804..0d696950e 100644
--- a/src/dolphincolumnwidget.cpp
+++ b/src/dolphincolumnwidget.cpp
@@ -400,7 +400,9 @@ void DolphinColumnWidget::deactivate()
this, SLOT(triggerItem(const QModelIndex&)));
}
+ const QModelIndex current = selectionModel()->currentIndex();
selectionModel()->clear();
+ selectionModel()->setCurrentIndex(current, QItemSelectionModel::NoUpdate);
updateBackground();
}