For the openvpn-cloak container, the choice of the transport protocol in the openvpn settings is blocked

This commit is contained in:
vladimir.kuznetsov 2023-01-29 08:39:31 +03:00
parent ee609f3e8f
commit d652ecff21
5 changed files with 12 additions and 14 deletions

View file

@ -63,7 +63,7 @@ PageBase {
pageLoader.focus = true
}
onContainerSelected: {
onContainerSelected: function(c_index){
var containerProto = ContainerProps.defaultProtocol(c_index)
tf_port_num.text = ProtocolProps.defaultPort(containerProto)

View file

@ -55,7 +55,6 @@ PageBase {
tf_port_num.text = qsTr("Default")
}
else tf_port_num.text = ProtocolProps.defaultPort(containerProto)
cb_port_proto.currentIndex = ProtocolProps.defaultTransportProto(containerProto)
tf_port_num.enabled = ProtocolProps.defaultPortChangeable(containerProto)