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: {
|
||||
if (index === containers.currentIndex) {
|
||||
card.checked = true
|
||||
card.clicked()
|
||||
}
|
||||
Component.onCompleted: {
|
||||
var item = containers.itemAtIndex(containers.currentIndex)
|
||||
if (item !== null) {
|
||||
var button = item.children[0].children[0]
|
||||
button.checked = true
|
||||
button.clicked()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue