Commit 8e616c94 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Fix tab bar disappearing when moving tabs on certain configurations

This fixes an issue with the tab bar disappearing when moving tabs left
or right with only two tabs open if the tab bar visibility is set to
Show Tab Bar When Needed in preferences

Thanks to Ignacio R. Morelle shadowm2006 gmail com

REVIEW: 128151
BUG: 350849
parent 00147867
......@@ -587,6 +587,9 @@ void TabbedViewContainer::moveViewWidget(int fromIndex , int toIndex)
_stackWidget->insertWidget(toIndex, widget);
_tabBar->insertTab(toIndex, icon, text);
if (navigationVisibility() == ShowNavigationAsNeeded)
void TabbedViewContainer::currentTabChanged(int index)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment