now when a new container is installed, it is selected as the default container
This commit is contained in:
parent
042788bec3
commit
d364dbac2c
6 changed files with 31 additions and 36 deletions
|
@ -76,7 +76,6 @@ ListView {
|
|||
(ConnectionController.isConnected || ConnectionController.isConnectionInProgress)) {
|
||||
PageController.showNotificationMessage(qsTr("Reconnect via VPN Procotol: ") + name)
|
||||
PageController.goToPageHome()
|
||||
menu.visible = false
|
||||
ConnectionController.openConnection()
|
||||
}
|
||||
} else {
|
||||
|
@ -84,7 +83,6 @@ ListView {
|
|||
InstallController.setShouldCreateServer(false)
|
||||
PageController.goToPage(PageEnum.PageSetupWizardProtocolSettings)
|
||||
containersDropDown.menuVisible = false
|
||||
menu.visible = false
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -25,11 +25,7 @@ PageType {
|
|||
|
||||
function onImportFinished() {
|
||||
PageController.goToStartPage()
|
||||
if (stackView.currentItem.objectName === PageController.getPagePath(PageEnum.PageHome)) {
|
||||
PageController.restorePageHomeState()
|
||||
} else if (stackView.currentItem.objectName === PageController.getPagePath(PageEnum.PageSettings)) {
|
||||
PageController.goToPage(PageEnum.PageSettingsServersList, false)
|
||||
} else {
|
||||
if (stackView.currentItem.objectName === PageController.getPagePath(PageEnum.PageSetupWizardStart)) {
|
||||
PageController.replaceStartPage()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ PageType {
|
|||
|
||||
drawerHeight: 0.4375
|
||||
|
||||
descriptionText: qsTr("Servers")
|
||||
descriptionText: qsTr("Server")
|
||||
headerText: qsTr("Server")
|
||||
|
||||
listView: ListViewWithRadioButtonType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue