dashboard: fix index not initialised
This commit is contained in:
parent
7d92c19358
commit
30adbfb42f
1 changed files with 3 additions and 2 deletions
|
|
@ -106,8 +106,9 @@ Item {
|
|||
index: 2
|
||||
sourceComponent: Performance {}
|
||||
}
|
||||
|
||||
|
||||
Pane {
|
||||
index: 3
|
||||
sourceComponent: Weather {}
|
||||
}
|
||||
}
|
||||
|
|
@ -134,7 +135,7 @@ Item {
|
|||
|
||||
component Pane: Loader {
|
||||
required property int index
|
||||
|
||||
|
||||
Layout.alignment: Qt.AlignTop
|
||||
|
||||
Component.onCompleted: active = Qt.binding(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue