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
This commit is contained in:
Peter Penz 2008-01-27 14:54:45 +00:00
parent 52025112b0
commit f824a33461

View file

@ -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();