removed invalid code, and fixed top button hidden-shown

This commit is contained in:
ronoaer 2023-10-15 17:29:22 +08:00
parent a75bd07cd8
commit d0f8358431
14 changed files with 58 additions and 63 deletions

View file

@ -152,12 +152,12 @@ PageType {
questionDrawer.noButtonText = qsTr("Cancel")
questionDrawer.yesButtonFunction = function() {
questionDrawer.onClose()
questionDrawer.close()
SettingsController.clearSettings()
PageController.replaceStartPage()
}
questionDrawer.noButtonFunction = function() {
questionDrawer.onClose()
questionDrawer.close()
}
questionDrawer.open()
}