electrum

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

commit 9dfe8ff847cc40989e729d78fb92dc3e8861d077
parent 4cf97d9ab80a2420a19fdeb7b12a68ac2839ef79
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 28 Jun 2015 10:37:08 +0200

tx window: keep a single close message, and raise window after signing

Diffstat:
Mgui/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 @@ -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_()