Skip to content

Commit

Permalink
Merge pull request #1941 from ModOrganizer2/dummy-display-tweak
Browse files Browse the repository at this point in the history
Change recordless plugin display to flag icon
  • Loading branch information
Silarn authored Dec 16, 2023
2 parents 783c054 + 20aa98b commit 70a41a9
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 @@ -1245,8 +1245,6 @@ QVariant PluginList::fontData(const QModelIndex& modelIndex) const
result.setWeight(QFont::Bold);
if (m_ESPs[index].isLightFlagged || m_ESPs[index].hasLightExtension)
result.setItalic(true);
if (m_ESPs[index].hasNoRecords)
result.setStrikeOut(true);

return result;
}
Expand Down Expand Up @@ -1476,6 +1474,10 @@ QVariant PluginList::iconData(const QModelIndex& modelIndex) const
result.append(":/MO/gui/awaiting");
}

if (esp.hasNoRecords) {
result.append(":/MO/gui/unchecked-checkbox");
}

if (esp.isOverlayFlagged) {
result.append(":/MO/gui/instance_switch");
}
Expand Down

0 comments on commit 70a41a9

Please sign in to comment.