1
0
mirror of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git synced 2025-04-01 02:42:39 +08:00

isVisible is invalid during restore state

This commit is contained in:
Syarif Fakhri 2023-06-23 11:08:27 +08:00
parent 61899651a9
commit b3fdbd47b3

View File

@ -336,7 +336,7 @@ bool CAutoHideSideBar::hasVisibleTabs() const
{
for (auto i = 0; i < tabCount(); i++)
{
if (tabAt(i)->isVisible())
if (tabAt(i)->isVisibleTo(parentWidget()))
{
return true;
}