fixed easy setup default container selection
This commit is contained in:
parent
3253de9384
commit
9dfc95bac0
1 changed files with 7 additions and 5 deletions
|
|
@ -117,12 +117,14 @@ PageType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
if (index === containers.currentIndex) {
|
var item = containers.itemAtIndex(containers.currentIndex)
|
||||||
card.checked = true
|
if (item !== null) {
|
||||||
card.clicked()
|
var button = item.children[0].children[0]
|
||||||
}
|
button.checked = true
|
||||||
|
button.clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue