electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1a768427307f16cdff1801605a1c7c3d20eb4edd
parent 0933f57e18fef6eff07db7a9018b4cee48542235
Author: ThomasV <thomasv@gitorious>
Date:   Sat,  4 Apr 2015 22:16:59 +0200

on_buy: missing parameter

Diffstat:
Mplugins/trustedcoin.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/trustedcoin.py b/plugins/trustedcoin.py @@ -601,7 +601,7 @@ class Plugin(BasePlugin): grid.addWidget(QLabel("Price for %d prepaid transactions:"%k), i, 0) grid.addWidget(QLabel("%d x "%k + self.window.format_amount(v/k) + ' ' + self.window.base_unit()), i, 1) b = QPushButton(_("Buy")) - b.clicked.connect(lambda k=k, v=v: self.on_buy(k, v, d)) + b.clicked.connect(lambda b, k=k, v=v: self.on_buy(k, v, d)) grid.addWidget(b, i, 2) i += 1