From d133875139fe10d8cad5b2f059fb47ab92e4637b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 26 Oct 2008 13:02:40 +0000 Subject: assure that the zoom level is updated when refreshing the view svn path=/trunk/KDE/kdebase/apps/; revision=876079 --- src/dolphinview.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dolphinview.cpp') 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) -- cgit v1.3