moved newly added code into handler section
This commit is contained in:
parent
bb34e9d56d
commit
1154258eb6
1 changed files with 5 additions and 5 deletions
|
|
@ -429,6 +429,11 @@ PageType {
|
|||
|
||||
fillConnectionTypeModel()
|
||||
|
||||
if (exportTypeSelector.currentIndex >= root.connectionTypesModel.length) {
|
||||
exportTypeSelector.currentIndex = 0
|
||||
exportTypeSelector.text = root.connectionTypesModel[0].name
|
||||
}
|
||||
|
||||
if (accessTypeSelector.currentIndex === 1) {
|
||||
PageController.showBusyIndicator(true)
|
||||
ExportController.updateClientManagementModel(ContainersModel.getProcessedContainerIndex(),
|
||||
|
|
@ -458,11 +463,6 @@ PageType {
|
|||
} else if (index === ContainerProps.containerFromString("amnezia-xray")) {
|
||||
root.connectionTypesModel.push(xrayConnectionFormat)
|
||||
}
|
||||
|
||||
if (exportTypeSelector.currentIndex >= root.connectionTypesModel.length) {
|
||||
exportTypeSelector.currentIndex = 0
|
||||
exportTypeSelector.text = root.connectionTypesModel[0].name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue