Added KDDockWidgets::InitialVisibilityOption::PreserveCurrentTab
So you can insert into a tab group without changing the current
tab, if you want.
(cherry-picked from commit 58b8633e3d)
This commit is contained in:
@@ -336,6 +336,14 @@ int DockWidget::tabIndex() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
int DockWidget::currentTabIndex() const
|
||||
{
|
||||
if (Frame *frame = d->frame())
|
||||
return frame->currentTabIndex();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void DockWidget::setIcon(const QIcon &icon, IconPlaces places)
|
||||
{
|
||||
if (places & IconPlace::TitleBar)
|
||||
|
||||
Reference in New Issue
Block a user