┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-10-26 13:02:40 +0000
committerPeter Penz <[email protected]>2008-10-26 13:02:40 +0000
commitd133875139fe10d8cad5b2f059fb47ab92e4637b (patch)
treeb4659a88aeb9ea48e2e9e8ac59d20121818febf1 /src/dolphinview.cpp
parentb1aadb8cce40ac4bc2f33729cd80ef270de72163 (diff)
assure that the zoom level is updated when refreshing the view
svn path=/trunk/KDE/kdebase/apps/; revision=876079
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp2
1 files changed, 2 insertions, 0 deletions
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)