aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-15 03:34:21 +0800
committerobscuren <geffobscura@gmail.com>2014-05-15 03:34:21 +0800
commit942f552c620471602326c1ded54095c1cf41ed76 (patch)
treecbc1f21a967bb522afad6c891afb4c4628f16ab4 /ethereal/assets/qml
parent809b4ae0f68da7a6904208662dc316cd669184fe (diff)
parenta73ae8727d38391c6975a9fa149043e6c69a2f30 (diff)
downloadgo-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.qml6
-rw-r--r--ethereal/assets/qml/newTransaction/_simple_send.qml3
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 {