From: Peter Penz Date: Sun, 26 Oct 2008 13:02:40 +0000 (+0000) Subject: assure that the zoom level is updated when refreshing the view X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/d133875139fe10d8cad5b2f059fb47ab92e4637b assure that the zoom level is updated when refreshing the view svn path=/trunk/KDE/kdebase/apps/; revision=876079 --- diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index cd9b67bb7..1300d9937 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -439,6 +439,7 @@ void DolphinView::reload() void DolphinView::refresh() { const bool oldActivationState = m_active; + const int oldZoomLevel = m_controller->zoomLevel(); m_active = true; createView(); @@ -446,6 +447,7 @@ void DolphinView::refresh() reload(); setActive(oldActivationState); + updateZoomLevel(oldZoomLevel); } void DolphinView::updateView(const KUrl& url, const KUrl& rootUrl)