From 5cb1022ccf1bd9e7189600279bac9204949d7057 Mon Sep 17 00:00:00 2001 From: Tal Neoran Date: Sat, 7 Aug 2021 12:30:56 +0300 Subject: [PATCH] Fix badge highlights using the same color (#3134) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Paweł --- CHANGELOG.md | 1 + src/widgets/settingspages/HighlightingPage.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad4963847..f779cc74a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unversioned - Bugfix: Moderation mode and active filters are now preserved when opening a split as a popup. (#3113, #3130) +- Bugfix: Fixed a bug that caused all badge highlights to use the same color. (#3132, #3134) ## 2.3.4 diff --git a/src/widgets/settingspages/HighlightingPage.cpp b/src/widgets/settingspages/HighlightingPage.cpp index d8aa170ca..29c627dba 100644 --- a/src/widgets/settingspages/HighlightingPage.cpp +++ b/src/widgets/settingspages/HighlightingPage.cpp @@ -195,7 +195,7 @@ HighlightingPage::HighlightingPage() } getSettings()->highlightedBadges.append(HighlightBadge{ s->badgeName(), s->displayName(), false, false, "", - ColorProvider::instance().color( + *ColorProvider::instance().color( ColorType::SelfHighlight)}); } });