mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-14 15:15:04 -04:00
Do not try to rebase removed sections, fixes #92
This commit is contained in:
parent
3993bd7090
commit
e25ed49b27
1 changed files with 2 additions and 1 deletions
|
@ -2448,7 +2448,8 @@ void FfsEngine::rebasePeiFiles(const QModelIndex & index)
|
|||
// If section stores PE32 or TE image
|
||||
if (model->subtype(currentSectionIndex) == EFI_SECTION_PE32 || model->subtype(currentSectionIndex) == EFI_SECTION_TE)
|
||||
// Set rebase action
|
||||
model->setAction(currentSectionIndex, Actions::Rebase);
|
||||
if (model->action(currentSectionIndex) != Actions::Remove)
|
||||
model->setAction(currentSectionIndex, Actions::Rebase);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue