fix(@desktop/wallet): Do not allow decimal number for gas limit
fixes #3048
This commit is contained in:
parent
1551c94135
commit
9e53c23596
|
@ -179,6 +179,9 @@ Item {
|
||||||
anchors.right: inputGasPrice.left
|
anchors.right: inputGasPrice.left
|
||||||
anchors.rightMargin: Style.current.padding
|
anchors.rightMargin: Style.current.padding
|
||||||
placeholderText: "21000"
|
placeholderText: "21000"
|
||||||
|
validator: IntValidator{
|
||||||
|
bottom: 1
|
||||||
|
}
|
||||||
validationErrorAlignment: TextEdit.AlignRight
|
validationErrorAlignment: TextEdit.AlignRight
|
||||||
validationErrorTopMargin: 8
|
validationErrorTopMargin: 8
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
|
|
Loading…
Reference in New Issue