aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2018-11-10 23:16:27 +0000
committerxiphon <xiphon@protonmail.com>2018-11-11 02:44:48 +0300
commitb34d5409e644567d86af23a8725125bdab0ad071 (patch)
tree68554d292f7b2e9e3d07f7c12d8315ccb083a874
parent270a6379249a149c89ad54d0b232a106bbf61d8e (diff)
downloadmonzero-gui-b34d5409e644567d86af23a8725125bdab0ad071.tar.gz
monzero-gui-b34d5409e644567d86af23a8725125bdab0ad071.tar.xz
monzero-gui-b34d5409e644567d86af23a8725125bdab0ad071.zip
components: RemoteNodeEdit validate port number range
-rw-r--r--components/RemoteNodeEdit.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/RemoteNodeEdit.qml b/components/RemoteNodeEdit.qml
index 4b003969..314cb45d 100644
--- a/components/RemoteNodeEdit.qml
+++ b/components/RemoteNodeEdit.qml
@@ -96,6 +96,7 @@ GridLayout {
fontColor: lineEditFontColor
fontBold: lineEditFontBold
fontSize: lineEditFontSize
+ validator: IntValidator{bottom: 1; top: 65535;}
onEditingFinished: root.editingFinished()
}