]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
resize the pixmap in a smooth way instead of using a blending effect
[dolphin.git] / src / dolphinview.cpp
index 5dc0c0e16c761fe22fc1d203c2d9538b0902cb8b..e06bc72f279c784aff3d27f28419f9aec04d428c 100644 (file)
@@ -205,6 +205,14 @@ 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.
+        setUrl(m_dirLister->url());
+    }
+
     ViewProperties props(m_urlNavigator->url());
     props.setViewMode(m_mode);