]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincolumnwidget.cpp
SVN_SILENT made messages (.desktop file)
[dolphin.git] / src / dolphincolumnwidget.cpp
index f85e4eee2d9f7dca9cb41e29168ef5830f6156b0..3bb1f36c2104c322fcf31e881073597a32a2dc3a 100644 (file)
@@ -381,6 +381,9 @@ void DolphinColumnWidget::activate()
                 this, SLOT(triggerItem(const QModelIndex&)));
     }
 
+    if (selectionModel() && selectionModel()->currentIndex().isValid())
+        selectionModel()->setCurrentIndex(selectionModel()->currentIndex(), QItemSelectionModel::SelectCurrent);
+
     updateBackground();
 }