git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
9d4b564
)
Update point of sale plugin for menu hook
author
tkhaew
<topherkhaew@gmail.com>
Sat, 23 Nov 2013 09:20:14 +0000 (16:20 +0700)
committer
tkhaew
<topherkhaew@gmail.com>
Sat, 23 Nov 2013 09:20:14 +0000 (16:20 +0700)
plugins/pointofsale.py
patch
|
blob
|
history
diff --git
a/plugins/pointofsale.py
b/plugins/pointofsale.py
index
f08bb1c
..
eb77937
100644
(file)
--- a/
plugins/pointofsale.py
+++ b/
plugins/pointofsale.py
@@
-251,7
+251,7
@@
class Plugin(BasePlugin):
item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsUserCheckable | Qt.ItemIsEnabled | Qt.ItemIsDragEnabled)
- def receive_menu(self, menu):
+ def receive_menu(self, menu, addr):
menu.addAction(_("Request amount"), self.edit_amount)
menu.addAction(_("Show Invoice"), lambda: self.toggle_QR_window(True))