summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gvcore/fileviewcontroller.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gvcore/fileviewcontroller.cpp b/src/gvcore/fileviewcontroller.cpp
index 40ec6ea..1a1005a 100644
--- a/src/gvcore/fileviewcontroller.cpp
+++ b/src/gvcore/fileviewcontroller.cpp
@@ -721,6 +721,7 @@ void FileViewController::slotViewDoubleClicked() {
void FileViewController::updateViewMode() {
+ KFileItem* currentItem=currentFileView()->currentFileItem();
if (mListMode->isChecked()) {
setMode(FILE_LIST);
return;
@@ -744,6 +745,7 @@ void FileViewController::updateViewMode() {
mFileThumbnailView->setShownFileItem(shownFileItem);
}
+ browseTo(currentItem);
updateThumbnailSize(mSizeSlider->value());
mFileThumbnailView->startThumbnailUpdate();
}