From ea2090132e25e93a6e8d60b3b4662e8b2d8cba67 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 2 Jan 2019 22:24:24 +0300 Subject: [PATCH] Fixed a random appearing of "#" in title of tab. --- src/chatty/gui/Channels.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chatty/gui/Channels.java b/src/chatty/gui/Channels.java index 4a17c2d41..fbf572208 100644 --- a/src/chatty/gui/Channels.java +++ b/src/chatty/gui/Channels.java @@ -182,7 +182,7 @@ public void setChannelNewStatus(String ownerChannel) { // TODO: Retain new status and stuff, and maybe reset new status when clicked on one of the tabs belong to the stream public void updateChannelTabName(Channel channel) { - tabs.setTitleForComponent(channel, channel.getName(), channel.getToolTipText()); + tabs.setTitleForComponent(channel, ForkUtil.removeSharpFromTitle(channel), channel.getToolTipText()); } /**