summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-27 19:55:18 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-27 19:55:18 +0300
commit2738dfd285d7a95a049fe97165abaaffc61c204f (patch)
tree455fc9348be483edbe32741c117c52dc5cb7a418
parent6da17088f26c4d9048124824a5bcd660beef338a (diff)
downloadmanaplus-2738dfd285d7a95a049fe97165abaaffc61c204f.tar.gz
manaplus-2738dfd285d7a95a049fe97165abaaffc61c204f.tar.bz2
manaplus-2738dfd285d7a95a049fe97165abaaffc61c204f.tar.xz
manaplus-2738dfd285d7a95a049fe97165abaaffc61c204f.zip
Fix show badges in some cases.
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 8cedc4fa8..d25fd0207 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -5589,12 +5589,12 @@ void Being::setGroupId(const int id)
if (mGroupId != id)
{
mGroupId = id;
- showGmBadge(id != 0);
const bool gm = GroupDb::getHighlightName(mGroupId);
if (mIsGM != gm)
{
mIsGM = gm;
updateColors();
}
+ showGmBadge(id != 0);
}
}