git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6662c1d
)
fix qrscanner module
author
thomasv
<thomasv@gitorious>
Fri, 15 Mar 2013 13:15:32 +0000 (14:15 +0100)
committer
thomasv
<thomasv@gitorious>
Fri, 15 Mar 2013 13:15:32 +0000 (14:15 +0100)
plugins/qrscanner.py
patch
|
blob
|
history
diff --git
a/plugins/qrscanner.py
b/plugins/qrscanner.py
index
b13e0d5
..
f21c836
100644
(file)
--- a/
plugins/qrscanner.py
+++ b/
plugins/qrscanner.py
@@
-81,7
+81,7
@@
def parse_uri(uri):
def fill_from_qr(self):
- qrcode = qrscanner.scan_qr()
+ qrcode = scan_qr()
if 'address' in qrcode:
self.payto_e.setText(qrcode['address'])
if 'amount' in qrcode:
@@
-93,7
+93,7
@@
def fill_from_qr(self):
def create_send_tab(gui, grid):
- if qrscanner.is_available():
+ if is_available():
b = QPushButton(_("Scan QR code"))
b.clicked.connect(lambda: fill_from_qr(gui))
grid.addWidget(b, 1, 5)