summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-01-23 23:21:45 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-01-23 23:21:45 -0500
commitcfa6607fc88b25fa74969e5407d4467ea9900444 (patch)
treeec78a66c58a5134c6a984815842202a2ebaa0565 /components
parent71bd71ccaf7f01649030095e8264433c7b5c5373 (diff)
downloadabaddon-portaudio-cfa6607fc88b25fa74969e5407d4467ea9900444.tar.gz
abaddon-portaudio-cfa6607fc88b25fa74969e5407d4467ea9900444.zip
fix new channels showing up when they shouldnt
Diffstat (limited to 'components')
-rw-r--r--components/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/channels.cpp b/components/channels.cpp
index 3734ba0..391a1a1 100644
--- a/components/channels.cpp
+++ b/components/channels.cpp
@@ -477,7 +477,7 @@ void ChannelList::UpdateCreateChannel(Snowflake id) {
} else
return;
row->IsUserCollapsed = false;
- if (guild_row->is_visible())
+ if (!guild_row->IsUserCollapsed)
row->show();
row->Parent = guild_row;
guild_row->Children.insert(row);