summaryrefslogtreecommitdiff
path: root/src/components/channeltabswitcherhandy.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-04-21 14:19:21 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2022-04-21 14:19:21 -0400
commit2dab59547617f7830a4fecd3de380396b47de33f (patch)
treeb00e8813d1333873ddaa602d176b466a530a7c16 /src/components/channeltabswitcherhandy.cpp
parenta98967fccccfcddaffb3d61023a0224ea646d685 (diff)
downloadabaddon-portaudio-2dab59547617f7830a4fecd3de380396b47de33f.tar.gz
abaddon-portaudio-2dab59547617f7830a4fecd3de380396b47de33f.zip
add open dm in new tab
Diffstat (limited to 'src/components/channeltabswitcherhandy.cpp')
-rw-r--r--src/components/channeltabswitcherhandy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/channeltabswitcherhandy.cpp b/src/components/channeltabswitcherhandy.cpp
index e359896..a9d2aef 100644
--- a/src/components/channeltabswitcherhandy.cpp
+++ b/src/components/channeltabswitcherhandy.cpp
@@ -49,7 +49,7 @@ void ChannelTabSwitcherHandy::AddChannelTab(Snowflake id) {
auto *dummy = Gtk::make_managed<Gtk::Box>(); // minimal
auto *page = hdy_tab_view_append(m_tab_view, GTK_WIDGET(dummy->gobj()));
- hdy_tab_page_set_title(page, ("#" + *channel->Name).c_str());
+ hdy_tab_page_set_title(page, channel->GetDisplayName().c_str());
hdy_tab_page_set_tooltip(page, nullptr);
m_pages[id] = page;