]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
Assure that the items within the "Others" group are sorted too, when sorting by name...
[dolphin.git] / src / dolphinview.cpp
index 969da773dcd4e677444daa0f52851a16464df8b0..b1c0bf7437c750720ae9b2b1a5172fb1347772e3 100644 (file)
@@ -1253,6 +1253,7 @@ void DolphinView::createView()
     Q_ASSERT(view != 0);
     view->installEventFilter(this);
     view->viewport()->installEventFilter(this);
+    setFocusProxy(view);
 
     if (m_mode != ColumnView) {
         // Give the view the ability to auto-expand its directories on hovering
@@ -1315,6 +1316,7 @@ void DolphinView::deleteView()
         // before deleting the view: Otherwise when having a split
         // view the other view will get the focus and will request
         // an activation (see DolphinView::eventFilter()).
+        setFocusProxy(0);
         setFocus();
 
         m_topLayout->removeWidget(view);