diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-04-14 00:11:39 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-04-14 00:11:39 -0400 |
commit | 34f8af599d76c74b719821e92d60937d9dcc01e3 (patch) | |
tree | 3feca6e98ea685d88b591e3ddc07f0fba8e59a18 /src/components/channeltabswitcherhandy.cpp | |
parent | d36fe4d0e9f7e537adc73827b925c429cd1f6ba8 (diff) | |
download | abaddon-portaudio-34f8af599d76c74b719821e92d60937d9dcc01e3.tar.gz abaddon-portaudio-34f8af599d76c74b719821e92d60937d9dcc01e3.zip |
fix tab titles
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 37ac927..e359896 100644 --- a/src/components/channeltabswitcherhandy.cpp +++ b/src/components/channeltabswitcherhandy.cpp @@ -70,7 +70,7 @@ void ChannelTabSwitcherHandy::ReplaceActiveTab(Snowflake id) { const auto channel = discord.GetChannel(id); if (!channel.has_value()) return; - hdy_tab_page_set_title(page, ("#" + *channel->Name).c_str()); + hdy_tab_page_set_title(page, channel->GetDisplayName().c_str()); ClearPage(page); m_pages[id] = page; |