diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2020-05-07 01:57:58 +0200 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2020-05-07 01:57:58 +0200 |
| commit | 14d1ea87f99ad92886b428272fc99be6478e9ba6 (patch) | |
| tree | 8eb97046fb6df3353a9f1bf26530e49b63a10bb4 | |
| parent | 2860447dce6beb40365e8171ca51f364d51f47db (diff) | |
Fix separator colors not working right due to missing brackets.
| -rw-r--r-- | src/modlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index 4afd2a25..9fbd3de4 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -404,7 +404,7 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const } return QVariant(); } else if (role == Qt::ForegroundRole) { - if (modInfo->hasFlag(ModInfo::FLAG_SEPARATOR) || (column == COL_NOTES) && modInfo->getColor().isValid()) { + if ((modInfo->hasFlag(ModInfo::FLAG_SEPARATOR) || (column == COL_NOTES)) && modInfo->getColor().isValid()) { return ColorSettings::idealTextColor(modInfo->getColor()); } else if (column == COL_NAME) { int highlight = modInfo->getHighlight(); |
