mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-25 20:15:54 +00:00
transfer: fix amount validation regexp
This commit is contained in:
parent
3e57bb344e
commit
2c44d979c6
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ Rectangle {
|
||||||
inlineButton.onClicked: amountLine.text = "(all)"
|
inlineButton.onClicked: amountLine.text = "(all)"
|
||||||
|
|
||||||
validator: RegExpValidator {
|
validator: RegExpValidator {
|
||||||
regExp: /(.|)(\d{1,8})([.]\d{1,12})?$/
|
regExp: /^(\d{1,8})?([\.]\d{1,12})?$/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue