aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml/views/transaction.qml
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-13 16:52:30 +0800
committerobscuren <geffobscura@gmail.com>2014-08-13 16:52:30 +0800
commitd518423b9c493bf5b42e6575db9a32106812e6bc (patch)
tree17bb79aee6e218fd63f2a3b03a28f2f0d7faf1ca /ethereal/assets/qml/views/transaction.qml
parent1fa792eae7584f61624121e46dbad82484109c64 (diff)
downloadgo-tangerine-d518423b9c493bf5b42e6575db9a32106812e6bc.tar
go-tangerine-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.gz
go-tangerine-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.bz2
go-tangerine-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.lz
go-tangerine-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.xz
go-tangerine-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.zst
go-tangerine-d518423b9c493bf5b42e6575db9a32106812e6bc.zip
Updated DNS Lookup
Diffstat (limited to 'ethereal/assets/qml/views/transaction.qml')
-rw-r--r--ethereal/assets/qml/views/transaction.qml17
1 files changed, 10 insertions, 7 deletions
diff --git a/ethereal/assets/qml/views/transaction.qml b/ethereal/assets/qml/views/transaction.qml
index 61a1b81cd..80e1670f8 100644
--- a/ethereal/assets/qml/views/transaction.qml
+++ b/ethereal/assets/qml/views/transaction.qml
@@ -18,13 +18,8 @@ Rectangle {
Column {
id: mainContractColumn
anchors.fill: parent
- function contractFormReady(){
- if(codeView.text.length > 0 && txValue.text.length > 0 && txGas.text.length > 0 && txGasPrice.length > 0) {
- txButton.state = "READY"
- }else{
- txButton.state = "NOTREADY"
- }
- }
+
+
states: [
State{
name: "ERROR"
@@ -208,4 +203,12 @@ Rectangle {
}
}
}
+
+ function contractFormReady(){
+ if(codeView.text.length > 0 && txValue.text.length > 0 && txGas.text.length > 0 && txGasPrice.length > 0) {
+ txButton.state = "READY"
+ }else{
+ txButton.state = "NOTREADY"
+ }
+ }
}