diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-15 03:34:21 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-15 03:34:21 +0800 |
commit | 942f552c620471602326c1ded54095c1cf41ed76 (patch) | |
tree | cbc1f21a967bb522afad6c891afb4c4628f16ab4 /ethereal/assets/qml | |
parent | 809b4ae0f68da7a6904208662dc316cd669184fe (diff) | |
parent | a73ae8727d38391c6975a9fa149043e6c69a2f30 (diff) | |
download | go-tangerine-942f552c620471602326c1ded54095c1cf41ed76.tar go-tangerine-942f552c620471602326c1ded54095c1cf41ed76.tar.gz go-tangerine-942f552c620471602326c1ded54095c1cf41ed76.tar.bz2 go-tangerine-942f552c620471602326c1ded54095c1cf41ed76.tar.lz go-tangerine-942f552c620471602326c1ded54095c1cf41ed76.tar.xz go-tangerine-942f552c620471602326c1ded54095c1cf41ed76.tar.zst go-tangerine-942f552c620471602326c1ded54095c1cf41ed76.zip |
Merge branch 'release/poc5-rc6'poc5-rc6
Diffstat (limited to 'ethereal/assets/qml')
-rw-r--r-- | ethereal/assets/qml/newTransaction/_new_contract.qml | 6 | ||||
-rw-r--r-- | ethereal/assets/qml/newTransaction/_simple_send.qml | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/ethereal/assets/qml/newTransaction/_new_contract.qml b/ethereal/assets/qml/newTransaction/_new_contract.qml index f8f3d53a0..e3c7229eb 100644 --- a/ethereal/assets/qml/newTransaction/_new_contract.qml +++ b/ethereal/assets/qml/newTransaction/_new_contract.qml @@ -61,7 +61,7 @@ Component { id: txValue width: 200 placeholderText: "Amount" - validator: IntValidator { } + validator: RegExpValidator { regExp: /\d*/ } onTextChanged: { contractFormReady() } @@ -69,7 +69,7 @@ Component { TextField { id: txGas width: 200 - validator: IntValidator { } + validator: RegExpValidator { regExp: /\d*/ } placeholderText: "Gas" onTextChanged: { contractFormReady() @@ -79,7 +79,7 @@ Component { id: txGasPrice width: 200 placeholderText: "Gas price" - validator: IntValidator { } + validator: RegExpValidator { regExp: /\d*/ } onTextChanged: { contractFormReady() } diff --git a/ethereal/assets/qml/newTransaction/_simple_send.qml b/ethereal/assets/qml/newTransaction/_simple_send.qml index 12420c15a..cd1ef55b6 100644 --- a/ethereal/assets/qml/newTransaction/_simple_send.qml +++ b/ethereal/assets/qml/newTransaction/_simple_send.qml @@ -56,9 +56,10 @@ Component { } TextField { id: txSimpleValue + width: 200 placeholderText: "Amount" anchors.rightMargin: 5 - validator: IntValidator { } + validator: RegExpValidator { regExp: /\d*/ } onTextChanged: { checkFormState() } } Button { |