tdisable save button for partially signed tx - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit e0122f8c63080a32e3484f4917ef485af09e0114
DIR parent b009c56b9db8abef998e0cdf5d2457256543cb4e
HTML Author: ThomasV <thomasv@electrum.org>
Date: Tue, 13 Mar 2018 14:54:21 +0100
disable save button for partially signed tx
Diffstat:
M gui/qt/transaction_dialog.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py
t@@ -179,7 +179,8 @@ class TxDialog(QDialog, MessageBoxMixin):
def sign(self):
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.saved = False
self.save_button.setDisabled(False)