commit 8295ef8c7f1f34bb0cb489b19f4fa727070c8514
parent 13682cab1d0407016d5c50965992e49f38ba72cc
Author: ThomasV <thomasv@gitorious>
Date: Thu, 26 Jun 2014 21:08:24 +0200
don't show qrcode button in payto if it is a payment request
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/gui/qt/paytoedit.py b/gui/qt/paytoedit.py
@@ -58,6 +58,7 @@ class PayToEdit(QRTextEdit):
def setFrozen(self, b):
self.setReadOnly(b)
self.setStyleSheet(frozen_style if b else normal_style)
+ self.button.setHidden(b)
def setGreen(self):
self.is_pr = True