From: Peter Penz Date: Thu, 13 Nov 2008 20:39:53 +0000 (+0000) Subject: when changing the view mode if the preview is turned on, the directory must get reloa... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/040bdcea237e2576aad744bc4e7b5cadedcc98dc?ds=inline when changing the view mode if the preview is turned on, the directory must get reloaded so that the KFilePreviewGenerator can update the previews svn path=/trunk/KDE/kdebase/apps/; revision=883921 --- diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 5ef00d60a..aec798d31 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -222,7 +222,11 @@ void DolphinView::setMode(Mode mode) } emit modeChanged(); + updateZoomLevel(oldZoomLevel); + if (m_showPreview) { + loadDirectory(viewPropsUrl); + } } DolphinView::Mode DolphinView::mode() const