1
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:
xiphon 2018-11-24 14:06:59 +00:00
parent 3e57bb344e
commit 2c44d979c6

View File

@ -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})?$/
}
}
}