Commit 4ca5fcb4 authored by Nate Graham's avatar Nate Graham
Browse files

Folder View: hide additional settings not relevant to list view

Ths config window already hides some settings not relevant when using
the list-atyle display, but omits others. This commit makes it hide the
rest as well.

BUG: 450063
FIXED-IN: 5.24.2
(cherry picked from commit 20daeee0)
parent d418dbb0
Pipeline #137994 passed with stage
in 3 minutes and 5 seconds
...@@ -124,6 +124,7 @@ Item { ...@@ -124,6 +124,7 @@ Item {
ComboBox { ComboBox {
id: arrangement id: arrangement
Layout.fillWidth: true Layout.fillWidth: true
visible: !isPopup || viewMode.currentIndex === 1
Kirigami.FormData.label: i18n("Arrangement:") Kirigami.FormData.label: i18n("Arrangement:")
...@@ -133,6 +134,7 @@ Item { ...@@ -133,6 +134,7 @@ Item {
ComboBox { ComboBox {
id: alignment id: alignment
Layout.fillWidth: true Layout.fillWidth: true
visible: !isPopup || viewMode.currentIndex === 1
model: [i18n("Align left"), i18n("Align right")] model: [i18n("Align left"), i18n("Align right")]
} }
...@@ -154,6 +156,7 @@ Item { ...@@ -154,6 +156,7 @@ Item {
Item { Item {
Kirigami.FormData.isSection: true Kirigami.FormData.isSection: true
visible: !isPopup || viewMode.currentIndex === 1
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment