diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-18 06:10:37 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-18 06:10:37 +0800 |
commit | c1474e1877641cb80ed0c935a3bd5b3d5c2fe3ac (patch) | |
tree | 8ef60fc899da8a74f69060a2b7aa735feea9a237 /cmd/mist/assets | |
parent | 26d58e0446521f725616b5a5d1b9d1ac04837f00 (diff) | |
download | go-tangerine-c1474e1877641cb80ed0c935a3bd5b3d5c2fe3ac.tar go-tangerine-c1474e1877641cb80ed0c935a3bd5b3d5c2fe3ac.tar.gz go-tangerine-c1474e1877641cb80ed0c935a3bd5b3d5c2fe3ac.tar.bz2 go-tangerine-c1474e1877641cb80ed0c935a3bd5b3d5c2fe3ac.tar.lz go-tangerine-c1474e1877641cb80ed0c935a3bd5b3d5c2fe3ac.tar.xz go-tangerine-c1474e1877641cb80ed0c935a3bd5b3d5c2fe3ac.tar.zst go-tangerine-c1474e1877641cb80ed0c935a3bd5b3d5c2fe3ac.zip |
Removed mined transactions from pending view. Closes #321
Diffstat (limited to 'cmd/mist/assets')
-rw-r--r-- | cmd/mist/assets/qml/main.qml | 2 | ||||
-rw-r--r-- | cmd/mist/assets/qml/views/pending_tx.qml | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/cmd/mist/assets/qml/main.qml b/cmd/mist/assets/qml/main.qml index e194c9f09..3089fc46f 100644 --- a/cmd/mist/assets/qml/main.qml +++ b/cmd/mist/assets/qml/main.qml @@ -876,7 +876,7 @@ ApplicationWindow { } function setWalletValue(value) { - walletValueLabel.text = value + //walletValueLabel.text = value } function loadPlugin(name) { diff --git a/cmd/mist/assets/qml/views/pending_tx.qml b/cmd/mist/assets/qml/views/pending_tx.qml index 4442a69db..3dcedeff2 100644 --- a/cmd/mist/assets/qml/views/pending_tx.qml +++ b/cmd/mist/assets/qml/views/pending_tx.qml @@ -41,4 +41,13 @@ Rectangle { pendingTxModel.insert(0, {hash: tx.hash, to: tx.address, from: tx.sender, value: tx.value, contract: isContract}) } + + function removeTx(tx) { + for (var i = 0; i < pendingTxModel.count; i++) { + if (tx.hash === pendingTxModel.get(i).hash) { + pendingTxModel.remove(i); + break; + } + } + } } |