Update source/dest earlier in the workflow

Addresses issue #219
This commit is contained in:
2Shirt 2023-08-13 16:31:23 -07:00
parent 2134536960
commit ee34e692dd
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -640,6 +640,7 @@ class State():
# Select source
self.source = select_disk_obj('source', disk_menu, docopt_args['<source>'])
self.update_top_panes()
if self.source.trim:
cli.print_warning('Source device supports TRIM')
if not cli.ask(' Proceed with recovery?'):
@ -660,6 +661,7 @@ class State():
else:
self.destination = menus.select_path('Destination')
self.ui.add_title_pane('Destination', self.destination)
self.update_top_panes()
# Update details
self.source.update_details(skip_children=False)