added new drawer2type for replacing drawertype
This commit is contained in:
parent
4b7c8f21c2
commit
384ce9853b
24 changed files with 350 additions and 56 deletions
|
|
@ -94,15 +94,15 @@ PageType {
|
|||
questionDrawer.noButtonText = qsTr("Cancel")
|
||||
|
||||
questionDrawer.yesButtonFunction = function() {
|
||||
questionDrawer.visible = false
|
||||
questionDrawer.onClose()
|
||||
PageController.showBusyIndicator(true)
|
||||
SettingsController.clearCachedProfiles()
|
||||
PageController.showBusyIndicator(false)
|
||||
}
|
||||
questionDrawer.noButtonFunction = function() {
|
||||
questionDrawer.visible = false
|
||||
questionDrawer.onClose()
|
||||
}
|
||||
questionDrawer.visible = true
|
||||
questionDrawer.open()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -172,7 +172,7 @@ PageType {
|
|||
questionDrawer.noButtonText = qsTr("Cancel")
|
||||
|
||||
questionDrawer.yesButtonFunction = function() {
|
||||
questionDrawer.visible = false
|
||||
questionDrawer.onClose()
|
||||
PageController.goToPage(PageEnum.PageDeinstalling)
|
||||
if (ServersModel.isDefaultServerCurrentlyProcessed() && ConnectionController.isConnected) {
|
||||
ConnectionController.closeConnection()
|
||||
|
|
@ -180,9 +180,9 @@ PageType {
|
|||
InstallController.removeAllContainers()
|
||||
}
|
||||
questionDrawer.noButtonFunction = function() {
|
||||
questionDrawer.visible = false
|
||||
questionDrawer.onClose()
|
||||
}
|
||||
questionDrawer.visible = true
|
||||
questionDrawer.open()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue