From 9dfe8ff847cc40989e729d78fb92dc3e8861d077 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 28 Jun 2015 10:37:08 +0200 Subject: [PATCH] tx window: keep a single close message, and raise window after signing --- gui/qt/transaction_dialog.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py index 357d7763..f89b45e7 100644 --- a/gui/qt/transaction_dialog.py +++ b/gui/qt/transaction_dialog.py @@ -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() @@ -221,6 +215,7 @@ class TxDialog(QWidget): self.amount_label.setText(_("Transaction unrelated to your wallet")) run_hook('transaction_dialog_update', self) + self.raise_()