┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-27 14:54:45 +0000
committerPeter Penz <[email protected]>2008-01-27 14:54:45 +0000
commitf824a33461508603dbb6c399908684df0d139cc1 (patch)
treeff6736807b8948d37369a456d5f77699ea20720f /src
parent52025112b09e0a00e01e930c3fa736a25a1ec3ab (diff)
Column-View: When switching to another view-mode, just switch the view for the currently focused column as Aurélien suggested.
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=767205
Diffstat (limited to 'src')
-rw-r--r--src/dolphinview.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index a424bcbb5..b16a61e1b 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -185,16 +185,6 @@ void DolphinView::setMode(Mode mode)
m_mode = mode;
- if (isColumnViewActive()) {
- // When changing the mode in the column view, it makes sense
- // to go back to the root URL of the column view automatically.
- // Otherwise there it would not be possible to turn off the column view
- // without focusing the first column.
- const KUrl root = rootUrl();
- setUrl(root);
- m_controller->setUrl(root);
- }
-
deleteView();
const KUrl viewPropsUrl = viewPropertiesUrl();