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

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
}