fixed issue when native connection format preserved after switching protocol

This commit is contained in:
Mitternacht822 2025-06-19 17:54:33 +04:00
parent d3715d00ae
commit bb34e9d56d

View file

@ -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
}
}
}
}