git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3e014d0
)
code cleanup
author
ThomasV
<thomasv@gitorious>
Mon, 3 Mar 2014 08:03:05 +0000 (09:03 +0100)
committer
ThomasV
<thomasv@gitorious>
Mon, 3 Mar 2014 08:03:05 +0000 (09:03 +0100)
gui/qt/main_window.py
patch
|
blob
|
history
diff --git
a/gui/qt/main_window.py
b/gui/qt/main_window.py
index
5405210
..
4ad7270
100644
(file)
--- a/
gui/qt/main_window.py
+++ b/
gui/qt/main_window.py
@@
-1756,10
+1756,7
@@
class ElectrumWindow(QMainWindow):
layout.setRowStretch(3,1)
hbox = QHBoxLayout()
- if sign:
- b = QPushButton(_("Sign"))
- elif not sign:
- b = QPushButton(_("Verify"))
+ b = QPushButton(_("Sign") if sign else _("Verify"))
hbox.addWidget(b)
f = self.do_sign if sign else self.do_verify
b.clicked.connect(lambda: f(address_e, message_e, signature_e))