summaryrefslogtreecommitdiffstats
path: root/src/tab-label.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tab-label.c')
-rw-r--r--src/tab-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index e3b7ee3..4d2a3b8 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -211,7 +211,7 @@ set_title(MqTabLabel *tab_label, const gchar *title)
static void
set_custom_title(MqTabLabel *tab_label, const gchar *title)
{
- if (title && title[0]) {
+ if (title && title[0] && g_strcmp0(title, tab_label->title) != 0) {
g_free(tab_label->custom_title);
tab_label->custom_title = g_strdup(title);
if (tab_label->scrolling) {