Truly independent web browser
UI/Qt: Keep the page column below the toolbar after tab layout changes
Timothy Flynn0cd8e1c68181
diff --git a/UI/Qt/TabBar.cpp b/UI/Qt/TabBar.cppindex 7d89a92c865..9fe83ef2711 100644--- a/UI/Qt/TabBar.cpp+++ b/UI/Qt/TabBar.cpp@@ -4348,6 +4348,11 @@ void TabWidget::place_toolbar_over_page_column()auto position = m_page_column->mapTo(this, QPoint());m_toolbar_container->setGeometry(position.x(), position.y(), m_page_column->width(), m_toolbar_placeholder->height());m_toolbar_container->stackUnder(m_vertical_tab_bar_column);++ // Reparenting the page column when switching tab layouts can put its placeholder above the toolbar.+ if (m_page_column->parentWidget() == this)+ m_page_column->stackUnder(m_toolbar_container);+if (m_vertical_tabs_content_separator->isVisible())m_vertical_tabs_content_separator->raise();}