RegExp validators fix
This commit is contained in:
parent
68a51c9c63
commit
9943e081d9
7 changed files with 19 additions and 18 deletions
|
|
@ -186,7 +186,7 @@ PageBase {
|
|||
id: label_server_ip
|
||||
x: 40
|
||||
anchors.top: new_sever_get_info.bottom
|
||||
text: qsTr("Server IP address")
|
||||
text: qsTr("Server IP address [:port]")
|
||||
}
|
||||
TextFieldType {
|
||||
id: new_server_ip
|
||||
|
|
@ -196,6 +196,10 @@ PageBase {
|
|||
onEditingFinished: {
|
||||
StartPageLogic.lineEditIpText = text
|
||||
}
|
||||
|
||||
validator: RegExpValidator {
|
||||
regExp: StartPageLogic.ipAddressPortRegex
|
||||
}
|
||||
}
|
||||
|
||||
LabelType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue