Changed stylesheet to highlight the active tab to improve debugging

This commit is contained in:
Uwe Kindler
2018-10-11 09:21:01 +02:00
parent b3b6d20d96
commit 0e85431405
3 changed files with 9 additions and 2 deletions

View File

@@ -257,6 +257,10 @@ void CDockAreaTabBar::insertTab(int Index, CDockWidgetTab* Tab)
d->TabsLayout->insertWidget(Index, Tab);
connect(Tab, SIGNAL(clicked()), this, SLOT(onTabClicked()));
d->MenuOutdated = true;
if (Index <= d->CurrentIndex)
{
d->CurrentIndex++;
}
}