Disable finalization options when imaging
This commit is contained in:
parent
cc3e36c60d
commit
a256e6e764
1 changed files with 3 additions and 0 deletions
|
|
@ -218,6 +218,9 @@ def finalize_recovery(state: State, dry_run: bool = True) -> None:
|
|||
if 'GPT' in name and disable_gpt_option:
|
||||
details['Disabled'] = True
|
||||
details['Selected'] = False
|
||||
if state.mode == 'Image':
|
||||
details['Disabled'] = True
|
||||
details['Selected'] = False
|
||||
menu.add_option(name, details)
|
||||
|
||||
# Show menu
|
||||
|
|
|
|||
Loading…
Reference in a new issue