mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-26 01:48:23 +08:00
Do not try to rebase removed sections, fixes #92
This commit is contained in:
parent
3993bd7090
commit
e25ed49b27
@ -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…
Reference in New Issue
Block a user