Skip to content

Commit

Permalink
Also check extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Silarn committed Oct 2, 2024
1 parent 2d6d06c commit 0ae317a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pluginlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1931,8 +1931,10 @@ PluginList::ESPInfo::ESPInfo(const QString& name, bool forceLoaded, bool forceEn
isMasterFlagged = file.isMaster();
isLightFlagged = lightSupported && file.isLight(mediumSupported);
isMediumFlagged = mediumSupported && file.isMedium();
isBlueprintFlagged = blueprintSupported && isMasterFlagged && file.isBlueprint();
hasNoRecords = file.isDummy();
isBlueprintFlagged = blueprintSupported &&
(isMasterFlagged || hasMasterExtension || hasLightExtension) &&
file.isBlueprint();
hasNoRecords = file.isDummy();

author = QString::fromLatin1(file.author().c_str());
description = QString::fromLatin1(file.description().c_str());
Expand Down

0 comments on commit 0ae317a

Please sign in to comment.