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:
parent
61899651a9
commit
b3fdbd47b3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user