diff options
| author | Rafael Fernández López <[email protected]> | 2008-01-17 20:23:47 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2008-01-17 20:23:47 +0000 |
| commit | 50928d72e7b18a332fe41815caad68eaae951c95 (patch) | |
| tree | dd5e1bd526bd0f177ce578cbf6c3553a7ab019f0 | |
| parent | e89b4021ad8eaaa84a63209a0ea626a0203109af (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
| -rw-r--r-- | src/dolphincolumnwidget.cpp | 2 |
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(); } |
