From 5ce6886c60a53afb9f1465aa8a242abf0eaef5f0 Mon Sep 17 00:00:00 2001 From: ambar chakravartty Date: Sun, 2 Feb 2025 12:00:50 +0000 Subject: Removed conditional in renameTab to allow unsetting custom labels co-authored by: Felix Ernst --- src/dolphintabwidget.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/dolphintabwidget.cpp') diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp index be674994d..b2f838a40 100644 --- a/src/dolphintabwidget.cpp +++ b/src/dolphintabwidget.cpp @@ -482,10 +482,7 @@ void DolphinTabWidget::currentTabChanged(int index) void DolphinTabWidget::renameTab(int index, const QString &name) { - if (!name.isEmpty()) { - tabPageAt(index)->setCustomLabel(name); - } - + tabPageAt(index)->setCustomLabel(name); updateTabName(index); } -- cgit v1.3