diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-23 01:32:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-23 01:32:12 +0800 |
commit | c7d666ad61a76e79867c9f7ae783a2cc44485dd0 (patch) | |
tree | a6e71cdafb18f011c2472d4792075173c132bee6 | |
parent | d5262a3350799b63faf9ec43d994ee068b46b7a3 (diff) | |
download | go-tangerine-c7d666ad61a76e79867c9f7ae783a2cc44485dd0.tar go-tangerine-c7d666ad61a76e79867c9f7ae783a2cc44485dd0.tar.gz go-tangerine-c7d666ad61a76e79867c9f7ae783a2cc44485dd0.tar.bz2 go-tangerine-c7d666ad61a76e79867c9f7ae783a2cc44485dd0.tar.lz go-tangerine-c7d666ad61a76e79867c9f7ae783a2cc44485dd0.tar.xz go-tangerine-c7d666ad61a76e79867c9f7ae783a2cc44485dd0.tar.zst go-tangerine-c7d666ad61a76e79867c9f7ae783a2cc44485dd0.zip |
Length check
-rw-r--r-- | mist/assets/qml/views/chain.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mist/assets/qml/views/chain.qml b/mist/assets/qml/views/chain.qml index 5bfc4b6c7..130ff8bb9 100644 --- a/mist/assets/qml/views/chain.qml +++ b/mist/assets/qml/views/chain.qml @@ -248,7 +248,7 @@ Rectangle { for(var i = 0; i < block.txs.length; i++) { transactionModel.insert(0, block.txs.get(i)) } - if(block.txs.get(0).data){ + if(block.txs.length > 0 && block.txs.get(0).data){ popup.showContractData(block.txs.get(0)) } } |