Merge pull request #872 from amnezia-vpn/bugfix/torsetup

Fix TorWebsite setup in UI
This commit is contained in:
pokamest 2024-06-29 21:23:29 +01:00 committed by GitHub
commit eeeb2805c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -261,7 +261,8 @@ PageType {
Keys.onTabPressed: lastItemTabClicked(focusItem)
clickedFunc: function() {
if (!port.textField.acceptableInput) {
if (!port.textField.acceptableInput &&
ContainerProps.containerTypeToString(dockerContainer) !== "torwebsite") {
port.errorText = qsTr("The port must be in the range of 1 to 65535")
return
}