1
0

show popup if qr scanner not enabled

This commit is contained in:
ThomasV
2014-06-17 16:45:45 +02:00
parent c9fd14e343
commit e2d03f1cc9
3 changed files with 10 additions and 12 deletions

View File

@@ -45,10 +45,7 @@ class PayToEdit(QRTextEdit):
self.textChanged.connect(self.check_text)
self.outputs = []
self.is_pr = False
def qr_input(self):
from electrum.plugins import run_hook
run_hook('scan_qr_hook', lambda x: self.win.pay_from_URI(x))
self.scan_f = self.win.pay_from_URI
def lock_amount(self):
self.amount_edit.setFrozen(True)