mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-04 21:05:11 +00:00
local_tx: allow saving already signed tx through tx dialog
This commit is contained in:
parent
e5f239dd28
commit
5c1da002ad
1 changed files with 6 additions and 2 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Reference in a new issue