From 50928d72e7b18a332fe41815caad68eaae951c95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Thu, 17 Jan 2008 20:23:47 +0000 Subject: [PATCH] Who said there aren't coding races ? haha. Fix the keyboard navigation in the special case of moving left to the previous column and going upwards or downwards. CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=762760 --- src/dolphincolumnwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp index 4bcf018040..0d696950e9 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(); }