diff options
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 876e037f5..0799ae8b9 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -424,15 +424,21 @@ void DolphinView::refresh() void DolphinView::setUrl(const KUrl& url) { if (m_controller->url() == url) { - return; - } - - m_controller->setUrl(url); + // Although the view URL is equal to the controller URL, + // the view properties must be applied to the view. + // This assures a consistent state of the currently activated + // column and their view properties. + if (isColumnViewActive()) { + applyViewProperties(url); + } + } else { + m_controller->setUrl(url); - applyViewProperties(url); + applyViewProperties(url); - startDirLister(url); - emit urlChanged(url); + startDirLister(url); + emit urlChanged(url); + } } void DolphinView::mouseReleaseEvent(QMouseEvent* event) |
