From f824a33461508603dbb6c399908684df0d139cc1 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 27 Jan 2008 14:54:45 +0000 Subject: Column-View: When switching to another view-mode, just switch the view for the currently focused column as Aurélien suggested. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CCMAIL: aurelien.gateau@free.fr svn path=/trunk/KDE/kdebase/apps/; revision=767205 --- src/dolphinview.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/dolphinview.cpp') 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(); -- cgit v1.3