updated visible logic of button 'set up later'

This commit is contained in:
ronoaer 2023-10-01 12:11:13 +08:00
parent ed1afa7549
commit 784ae0da53
4 changed files with 30 additions and 1 deletions

View file

@ -183,7 +183,16 @@ PageType {
textColor: "#D7D8DB"
borderWidth: 1
visible: ContainersModel.isAnyContainerInstalled()
visible: {
if (PageController.isConnectTrigger()) {
PageController.setConnectTrigger(false)
return ContainersModel.isAnyContainerInstalled()
}
return true
}
text: qsTr("Set up later")