mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 22:54:47 -04:00
Fix rebuild reversion
This commit is contained in:
parent
462f693ad6
commit
fd4d75957e
1 changed files with 11 additions and 0 deletions
|
@ -2662,6 +2662,17 @@ UINT8 FfsEngine::rebuild(const QModelIndex & index)
|
|||
return ERR_SUCCESS;
|
||||
}
|
||||
|
||||
UINT8 FfsEngine::doNotRebuild(const QModelIndex & index)
|
||||
{
|
||||
if (!index.isValid())
|
||||
return ERR_INVALID_PARAMETER;
|
||||
|
||||
// Set action for the item
|
||||
model->setAction(index, Actions::DoNotRebuild);
|
||||
|
||||
return ERR_SUCCESS;
|
||||
}
|
||||
|
||||
// Compression routines
|
||||
UINT8 FfsEngine::decompress(const QByteArray & compressedData, const UINT8 compressionType, QByteArray & decompressedData, UINT8 * algorithm)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue