disable save button for partially signed tx
This commit is contained in:
parent
b009c56b9d
commit
e0122f8c63
@ -179,7 +179,8 @@ class TxDialog(QDialog, MessageBoxMixin):
|
|||||||
|
|
||||||
def sign(self):
|
def sign(self):
|
||||||
def sign_done(success):
|
def sign_done(success):
|
||||||
if success:
|
# note: with segwit we could save partially signed tx, because they have a txid
|
||||||
|
if self.tx.is_complete():
|
||||||
self.prompt_if_unsaved = True
|
self.prompt_if_unsaved = True
|
||||||
self.saved = False
|
self.saved = False
|
||||||
self.save_button.setDisabled(False)
|
self.save_button.setDisabled(False)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user