diff options
Diffstat (limited to 'src/components/channeltabswitcherhandy.cpp')
-rw-r--r-- | src/components/channeltabswitcherhandy.cpp | 2 |
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; |