forked from Public/monero-gui
transfer: fix amount validation regexp
This commit is contained in:
@@ -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})?$/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user