Add option to always show all tabs (#102)
* Add option to always show tabs. * Disable "Detach" context menu option in tab if there is only one tab in the floating container.
This commit is contained in:
@@ -702,6 +702,11 @@ void CDockAreaWidget::updateTitleBarVisibility()
|
||||
return;
|
||||
}
|
||||
|
||||
if (CDockManager::configFlags().testFlag(CDockManager::AlwaysShowTabs))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (d->TitleBar)
|
||||
{
|
||||
d->TitleBar->setVisible(!Container->isFloating() || !Container->hasTopLevelDockWidget());
|
||||
|
||||
Reference in New Issue
Block a user