fix bug #963
This commit is contained in:
parent
477b7c3402
commit
3d32bba0b9
|
@ -1157,12 +1157,12 @@ class ElectrumWindow(QMainWindow):
|
||||||
return tx
|
return tx
|
||||||
|
|
||||||
def sign_done(tx):
|
def sign_done(tx):
|
||||||
if label:
|
|
||||||
self.wallet.set_label(tx.hash(), label)
|
|
||||||
if not tx.is_complete() or self.config.get('show_before_broadcast'):
|
if not tx.is_complete() or self.config.get('show_before_broadcast'):
|
||||||
self.show_transaction(tx)
|
self.show_transaction(tx)
|
||||||
self.do_clear()
|
self.do_clear()
|
||||||
return
|
return
|
||||||
|
if label:
|
||||||
|
self.wallet.set_label(tx.hash(), label)
|
||||||
self.broadcast_transaction(tx)
|
self.broadcast_transaction(tx)
|
||||||
|
|
||||||
# keep a reference to WaitingDialog or the gui might crash
|
# keep a reference to WaitingDialog or the gui might crash
|
||||||
|
|
Loading…
Reference in New Issue