diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-01-08 20:53:59 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-01-08 20:53:59 -0500 |
commit | 1e6d16f44a07da92c35b19dadf6385c2868ab295 (patch) | |
tree | 94db694240a9baf04b7fdfdb819c13a175c8a32e /src/components/channellist/channellist.cpp | |
parent | 9131158cbbf5800dd103d5b5fbfff96384352c77 (diff) | |
download | abaddon-portaudio-1e6d16f44a07da92c35b19dadf6385c2868ab295.tar.gz abaddon-portaudio-1e6d16f44a07da92c35b19dadf6385c2868ab295.zip |
hide dm header unless selected in classic channel list
Diffstat (limited to 'src/components/channellist/channellist.cpp')
-rw-r--r-- | src/components/channellist/channellist.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/channellist/channellist.cpp b/src/components/channellist/channellist.cpp index de19a80..e4060a8 100644 --- a/src/components/channellist/channellist.cpp +++ b/src/components/channellist/channellist.cpp @@ -11,6 +11,10 @@ ChannelList::ChannelList() { m_tree.SetSelectedGuild(guild_id); }); + m_guilds.signal_dms_selected().connect([this]() { + m_tree.SetSelectedDMs(); + }); + m_guilds.show(); m_tree.show(); m_guilds_scroll.add(m_guilds); |