diff options
| author | ambar chakravartty <[email protected]> | 2025-02-02 12:00:50 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-02-06 14:32:35 +0000 |
| commit | 5ce6886c60a53afb9f1465aa8a242abf0eaef5f0 (patch) | |
| tree | d0d79a909ccabe27a10a8ebe82264d037a7a17d4 | |
| parent | f1a5aaa183e4e917a6d1b19fa328fca0a38df479 (diff) | |
Removed conditional in renameTab to allow unsetting custom labels
co-authored by: Felix Ernst
| -rw-r--r-- | src/dolphintabwidget.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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); } |
