summaryrefslogtreecommitdiff
path: root/src/components/channellist/channellist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/channellist/channellist.cpp')
-rw-r--r--src/components/channellist/channellist.cpp4
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);