Skip to content

Commit

Permalink
fix: properly color "species" tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Mar 25, 2023
1 parent 3102698 commit 0605461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/src/tags/tag-stylist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ QString TagStylist::stylished(const Tag &tag, const QMap<QString, QString> &styl
const QString &txt = tag.text();

// Guess the correct tag family
const QString plural = tag.type().name() + "s";
const QString plural = tag.type().name() + (!tag.type().name().endsWith('s') ? "s" : "");
QString key = styles.contains(plural) ? plural : "generals";
if (m_profile->getBlacklist().contains(txt)) {
key = "blacklisteds";
Expand Down

0 comments on commit 0605461

Please sign in to comment.