From: ambar chakravartty Date: Sun, 2 Feb 2025 12:00:50 +0000 (+0000) Subject: Removed conditional in renameTab to allow unsetting custom labels X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/5ce6886c60a53afb9f1465aa8a242abf0eaef5f0 Removed conditional in renameTab to allow unsetting custom labels co-authored by: Felix Ernst --- 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); }