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

This commit is contained in:
ThomasV 2015-06-28 10:37:08 +02:00
parent 4cf97d9ab8
commit 9dfe8ff847
1 changed files with 1 additions and 6 deletions

View File

@ -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_()