mirror of
https://github.com/QuasarApp/Credits.git
synced 2025-04-26 01:34:38 +00:00
fix lstviewer
This commit is contained in:
parent
abf015424b
commit
00490f9129
@ -10,7 +10,7 @@ Page {
|
||||
property bool showHeader: true
|
||||
property bool showPatreon: true
|
||||
property bool showBitcoin: true
|
||||
property bool showPatrons: (showQR || showPatreon || showBitcoin) && listCustomInfo.length
|
||||
property bool showPatrons: (showQR || showPatreon || showBitcoin)
|
||||
|
||||
// developersa and patronsList lists must be contain structure with a section amd sectionList fields.
|
||||
// The section it is section name
|
||||
@ -109,7 +109,7 @@ Page {
|
||||
ListViewer {
|
||||
model: listCustomInfo
|
||||
|
||||
visible: showPatrons
|
||||
visible: listCustomInfo.length
|
||||
}
|
||||
|
||||
}
|
||||
@ -182,8 +182,6 @@ Page {
|
||||
showHeader: false
|
||||
showPatreon: false
|
||||
showBitcoin: false
|
||||
listCustomInfo: []
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -17,11 +17,12 @@ import QtQuick.Layouts 1.15
|
||||
//]
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
property var model: []
|
||||
Layout.fillWidth: true
|
||||
|
||||
Repeater {
|
||||
model: model
|
||||
model: root.model
|
||||
|
||||
Label {
|
||||
text: modelData
|
||||
|
Loading…
x
Reference in New Issue
Block a user