mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-28 05:54:50 -04:00
Make sure derivatives works
- revert some changes done in 0.20.0 update - bump version numbers
This commit is contained in:
parent
b84f27739d
commit
63465b2dcf
3 changed files with 3 additions and 3 deletions
|
@ -126,7 +126,7 @@ UINT8 UEFIPatch::patchFile(const QModelIndex & index, const QByteArray & fileGui
|
|||
|
||||
if (!model || !index.isValid())
|
||||
return ERR_INVALID_PARAMETER;
|
||||
if (model->type(index) == Types::Section && model->attributes(index) == sectionType) {
|
||||
if (model->type(index) == Types::Section && model->subtype(index) == sectionType) {
|
||||
QModelIndex fileIndex = model->findParentOfType(index, Types::File);
|
||||
if (model->type(fileIndex) == Types::File &&
|
||||
model->header(fileIndex).left(sizeof(EFI_GUID)) == fileGuid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue