┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorAkseli Lahtinen <[email protected]>2025-09-19 11:22:23 +0300
committerAkseli Lahtinen <[email protected]>2025-09-19 11:22:23 +0300
commit2a0fa83b72631b21d2e8d731feb0eff576af0f77 (patch)
tree8353ebbdf5f05652ab5fde09d8586f68db60348c /src/dolphinmainwindow.cpp
parent4be2b872b55995fb12d9c6f8f7442d676c4f5ba5 (diff)
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
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<DolphinNavigatorsWidgetAction *>(actionCollection()->action(QStringLiteral("url_navigators")));
- if (!toolBar()->actions().contains(navigators)) {
- m_tabWidget->currentTabPage()->insertNavigatorsWidget(navigators);
- }
+
+ m_tabWidget->currentTabPage()->insertNavigatorsWidget(navigators);
+
updateAllowedToolbarAreas();
updateNavigatorsBackground();
(static_cast<KHamburgerMenu *>(actionCollection()->action(KStandardAction::name(KStandardAction::HamburgerMenu))))->hideActionsOf(toolBar());