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
|
index: 2
|
||||||
sourceComponent: Performance {}
|
sourceComponent: Performance {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
|
index: 3
|
||||||
sourceComponent: Weather {}
|
sourceComponent: Weather {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -134,7 +135,7 @@ Item {
|
||||||
|
|
||||||
component Pane: Loader {
|
component Pane: Loader {
|
||||||
required property int index
|
required property int index
|
||||||
|
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
|
|
||||||
Component.onCompleted: active = Qt.binding(() => {
|
Component.onCompleted: active = Qt.binding(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue