electrum

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

commit 5c1da002add5a8280737e67a5d9de7979bf08783
parent e5f239dd287a72d8ac5711d31afe8e886bcb3814
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed, 31 Jan 2018 05:27:28 +0100

local_tx: allow saving already signed tx through tx dialog

Diffstat:
Mgui/qt/transaction_dialog.py | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py @@ -101,8 +101,12 @@ class TxDialog(QDialog, MessageBoxMixin): b.clicked.connect(self.do_broadcast) self.save_button = QPushButton(_("Save")) - self.save_button.setDisabled(True) - self.save_button.setToolTip(_("Please sign this transaction in order to save it")) + save_button_disabled = not tx.is_complete() + self.save_button.setDisabled(save_button_disabled) + if save_button_disabled: + self.save_button.setToolTip(_("Please sign this transaction in order to save it")) + else: + self.save_button.setToolTip("") self.save_button.clicked.connect(self.save) self.export_button = b = QPushButton(_("Export"))