Commit aa27d703 authored by Fushan Wen's avatar Fushan Wen
Browse files

kcms/landingpage: hide "Most Used" section when it's empty


(cherry picked from commit 83c84869)
parent dc0879ec
Pipeline #236057 passed with stage
in 3 minutes and 13 seconds
......@@ -203,12 +203,15 @@ KCM.SimpleKCM {
Kirigami.Separator {
Kirigami.FormData.isSection: true
visible: mostUsedGrid.visible
}
GridLayout {
id: mostUsedGrid
Kirigami.FormData.label: i18n("Most Used Pages:")
Kirigami.FormData.buddyFor: children[1] // 0 is the Repeater
visible: recentlyUsedRepeater.count > 0
Layout.fillWidth: true
rows: 3
columns: 2
......
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