Merge pull request #872 from amnezia-vpn/bugfix/torsetup
Fix TorWebsite setup in UI
This commit is contained in:
commit
eeeb2805c5
1 changed files with 2 additions and 1 deletions
|
@ -261,7 +261,8 @@ PageType {
|
||||||
Keys.onTabPressed: lastItemTabClicked(focusItem)
|
Keys.onTabPressed: lastItemTabClicked(focusItem)
|
||||||
|
|
||||||
clickedFunc: function() {
|
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")
|
port.errorText = qsTr("The port must be in the range of 1 to 65535")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue