From: Peter Penz Date: Sun, 27 Jan 2008 14:54:45 +0000 (+0000) Subject: Column-View: When switching to another view-mode, just switch the view for the curren... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/f824a33461508603dbb6c399908684df0d139cc1 Column-View: When switching to another view-mode, just switch the view for the currently focused column as Aurélien suggested. CCMAIL: aurelien.gateau@free.fr svn path=/trunk/KDE/kdebase/apps/; revision=767205 --- 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();