ttx window: keep a single close message, and raise window after signing - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9dfe8ff847cc40989e729d78fb92dc3e8861d077 DIR parent 4cf97d9ab80a2420a19fdeb7b12a68ac2839ef79 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 28 Jun 2015 10:37:08 +0200 ttx window: keep a single close message, and raise window after signing Diffstat: M gui/qt/transaction_dialog.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py t@@ -183,12 +183,6 @@ class TxDialog(QWidget): else: self.sign_button.hide() - # Cancel if an action, otherwise close - if have_action: - self.cancel_button.setText(_("Cancel")) - else: - self.cancel_button.setText(_("Close")) - self.tx_hash_e.setText(tx_hash) if desc is None: self.tx_desc.hide() t@@ -221,6 +215,7 @@ class TxDialog(QWidget): self.amount_label.setText(_("Transaction unrelated to your wallet")) run_hook('transaction_dialog_update', self) + self.raise_()