┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincolumnwidget.cpp
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2008-01-17 20:23:47 +0000
committerRafael Fernández López <[email protected]>2008-01-17 20:23:47 +0000
commit50928d72e7b18a332fe41815caad68eaae951c95 (patch)
treedd5e1bd526bd0f177ce578cbf6c3553a7ab019f0 /src/dolphincolumnwidget.cpp
parente89b4021ad8eaaa84a63209a0ea626a0203109af (diff)
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=762760
Diffstat (limited to 'src/dolphincolumnwidget.cpp')
-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();
}