From 2a0fa83b72631b21d2e8d731feb0eff576af0f77 Mon Sep 17 00:00:00 2001 From: Akseli Lahtinen Date: Fri, 19 Sep 2025 11:22:23 +0300 Subject: DolphinTabPage: Show separator when navigator is outside of menubar When navigator is outside of menubar, we should show separator under it to make it visually easier to understand it's a clickable area. This adds a small separator, that will be disabled when the navigator is moved back to menubar. BUG: 508303 --- src/dolphinmainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index f7ca69553..7d8e406c2 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -3053,9 +3053,9 @@ void DolphinMainWindow::saveNewToolbarConfig() // because the rest of this method decides things // based on the new config. auto navigators = static_cast(actionCollection()->action(QStringLiteral("url_navigators"))); - if (!toolBar()->actions().contains(navigators)) { - m_tabWidget->currentTabPage()->insertNavigatorsWidget(navigators); - } + + m_tabWidget->currentTabPage()->insertNavigatorsWidget(navigators); + updateAllowedToolbarAreas(); updateNavigatorsBackground(); (static_cast(actionCollection()->action(KStandardAction::name(KStandardAction::HamburgerMenu))))->hideActionsOf(toolBar()); -- cgit v1.3