Fix TorWebsite setup in UI

This commit is contained in:
Mykola Baibuz 2024-06-28 22:47:22 +03:00
parent ea6618b2f6
commit 9a592d67ad

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
}