@@ -356,7 +356,12 @@ def on_alert_tx_closed(tx: Optional[Transaction]):
356
356
context .add_input_info_to_recovery_tx ()
357
357
context .add_input_info_to_cancellation_tx ()
358
358
update_transactions ()
359
- view_alert_tx_button .clicked .connect (lambda : context .main_window .show_transaction (context .alert_tx , show_broadcast_button = False , on_closed = on_alert_tx_closed ))
359
+ view_alert_tx_button .clicked .connect (lambda : context .main_window .show_transaction (
360
+ context .alert_tx ,
361
+ prompt_if_complete_unsaved = False ,
362
+ show_broadcast_button = False ,
363
+ on_closed = on_alert_tx_closed
364
+ ))
360
365
plan_grid .addWidget (view_alert_tx_button , grid_row , 4 )
361
366
grid_row += 1
362
367
@@ -368,7 +373,12 @@ def on_recovery_tx_closed(tx: Optional[Transaction]):
368
373
if tx is not None and context .recovery_tx is not None and tx .txid () == context .recovery_tx .txid () and tx .is_complete ():
369
374
context .recovery_tx = tx
370
375
update_transactions ()
371
- view_recovery_tx_button .clicked .connect (lambda : context .main_window .show_transaction (context .recovery_tx , show_broadcast_button = False , on_closed = on_recovery_tx_closed ))
376
+ view_recovery_tx_button .clicked .connect (lambda : context .main_window .show_transaction (
377
+ context .recovery_tx ,
378
+ prompt_if_complete_unsaved = False ,
379
+ show_broadcast_button = False ,
380
+ on_closed = on_recovery_tx_closed
381
+ ))
372
382
plan_grid .addWidget (view_recovery_tx_button , grid_row , 4 )
373
383
grid_row += 1
374
384
@@ -381,7 +391,12 @@ def on_cancellation_tx_closed(tx: Optional[Transaction]):
381
391
if tx is not None and context .cancellation_tx is not None and tx .txid () == context .cancellation_tx .txid () and tx .is_complete ():
382
392
context .cancellation_tx = tx
383
393
update_transactions ()
384
- view_cancellation_tx_button .clicked .connect (lambda : context .main_window .show_transaction (context .cancellation_tx , show_broadcast_button = False , on_closed = on_cancellation_tx_closed ))
394
+ view_cancellation_tx_button .clicked .connect (lambda : context .main_window .show_transaction (
395
+ context .cancellation_tx ,
396
+ prompt_if_complete_unsaved = False ,
397
+ show_broadcast_button = False ,
398
+ on_closed = on_cancellation_tx_closed
399
+ ))
385
400
plan_grid .addWidget (view_cancellation_tx_button , grid_row , 4 )
386
401
grid_row += 1
387
402
0 commit comments