electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1face99346b2376d095b6abd72c9301d14de958c
parent 3e014d05c1862e768bd89b13f7b9b20d53e0192e
Author: ThomasV <thomasv@gitorious>
Date:   Mon,  3 Mar 2014 09:03:05 +0100

code cleanup

Diffstat:
Mgui/qt/main_window.py | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 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))