diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-13 16:52:30 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-13 16:52:30 +0800 |
commit | d518423b9c493bf5b42e6575db9a32106812e6bc (patch) | |
tree | 17bb79aee6e218fd63f2a3b03a28f2f0d7faf1ca /ethereal/assets/qml/views/transaction.qml | |
parent | 1fa792eae7584f61624121e46dbad82484109c64 (diff) | |
download | go-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.qml | 17 |
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" + } + } } |