Skip to content

Commit

Permalink
Merge pull request #1911 from ModOrganizer2/plugin_display
Browse files Browse the repository at this point in the history
Display changes for plugins
  • Loading branch information
Silarn authored Nov 5, 2023
2 parents af5e042 + 037e17e commit 8f77fff
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/pluginlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1241,13 +1241,10 @@ QVariant PluginList::fontData(const QModelIndex& modelIndex) const
QFont result;

if (m_ESPs[index].hasMasterExtension || m_ESPs[index].isMasterFlagged ||
m_ESPs[index].hasLightExtension) {
result.setItalic(true);
m_ESPs[index].hasLightExtension)
result.setWeight(QFont::Bold);
} else if (m_ESPs[index].isLightFlagged) {
if (m_ESPs[index].isLightFlagged || m_ESPs[index].hasLightExtension)
result.setItalic(true);
}

if (m_ESPs[index].hasNoRecords)
result.setStrikeOut(true);

Expand Down

0 comments on commit 8f77fff

Please sign in to comment.