Fixed tab insertion when dragging side tab

This commit is contained in:
Uwe Kindler
2023-07-12 14:01:39 +02:00
parent be727c5890
commit f5cfe9e05a
9 changed files with 99 additions and 24 deletions

View File

@@ -546,4 +546,16 @@ void CAutoHideTab::requestCloseDockWidget()
}
//============================================================================
int CAutoHideTab::tabIndex() const
{
if (!d->SideBar)
{
return -1;
}
return d->SideBar->indexOfTab(*this);
}
}