fixed issue when native connection format preserved after switching protocol
This commit is contained in:
parent
d3715d00ae
commit
bb34e9d56d
1 changed files with 5 additions and 0 deletions
|
|
@ -458,6 +458,11 @@ 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