commit 10f3308dc79aa0ac672677959dda1156e642ae90
parent 01cfb8f8f1202f4f7f42648256715787d32c49e8
Author: ThomasV <thomasv@gitorious>
Date: Sat, 14 Mar 2015 12:56:00 +0100
fix setFrozen (self.buttons)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/qt/paytoedit.py b/gui/qt/paytoedit.py
@@ -55,7 +55,8 @@ class PayToEdit(ScanQRTextEdit):
def setFrozen(self, b):
self.setReadOnly(b)
self.setStyleSheet(frozen_style if b else normal_style)
- self.button.setHidden(b)
+ for button in self.buttons:
+ button.setHidden(b)
def setGreen(self):
self.is_pr = True