fixed easy setup default container selection

This commit is contained in:
vladimir.kuznetsov 2024-01-20 23:28:20 +07:00
parent 3253de9384
commit 9dfc95bac0

View file

@ -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()
}
}
}