mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-05 19:56:26 +01:00
transfer: fix amount validation regexp
This commit is contained in:
parent
3e57bb344e
commit
2c44d979c6
@ -146,7 +146,7 @@ Rectangle {
|
||||
inlineButton.onClicked: amountLine.text = "(all)"
|
||||
|
||||
validator: RegExpValidator {
|
||||
regExp: /(.|)(\d{1,8})([.]\d{1,12})?$/
|
||||
regExp: /^(\d{1,8})?([\.]\d{1,12})?$/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user