tcode cleanup - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1face99346b2376d095b6abd72c9301d14de958c DIR parent 3e014d05c1862e768bd89b13f7b9b20d53e0192e HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 3 Mar 2014 09:03:05 +0100 code cleanup Diffstat: M gui/qt/main_window.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -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))