mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
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:
parent
52025112b0
commit
f824a33461
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue