Also change the resize mode the other way...
authorAndreas Hartmetz <ahartmetz@gmail.com>
Sat, 12 Nov 2016 17:46:20 +0000 (18:46 +0100)
committerMaximiliano Curia <maxy@debian.org>
Wed, 5 Apr 2017 08:10:59 +0000 (09:10 +0100)
Gbp-Pq: Name Also-change-the-resize-mode-the-other-way.patch

src/filewidgets/kdiroperatordetailview.cpp

index 491aea57846ccd9b9580becd5cc53eb420c32a4c..32e82183e12cd8b97a2b877698b7e8fa732a0d7c 100644 (file)
@@ -91,6 +91,8 @@ bool KDirOperatorDetailView::setViewMode(KFile::FileView viewMode)
     // using KDirOperator in horizontally limited parts of an app.
     if (tree && m_hideDetailColumns) {
         header()->setSectionResizeMode(QHeaderView::ResizeToContents);
+    } else {
+        header()->setSectionResizeMode(QHeaderView::Interactive);
     }
 
     return true;