Fix phantom docked panels issue after restoring from systray
Fixes visual bug and potential crash in the #10512. Fix #10512, close #10711
This commit is contained in:
parent
d192f58b5b
commit
09711cee28
|
@ -205,7 +205,10 @@ void DockingManager::showFloatingContainers(bool show)
|
|||
{
|
||||
size_t iElementCnt = _vContainer[i]->getElementCnt();
|
||||
if (iElementCnt > 0)
|
||||
_vContainer[i]->display(show);
|
||||
{
|
||||
if (0 < ::SendMessage(_vContainer[i]->getTabWnd(), TCM_GETITEMCOUNT, 0, 0)) // any real item(s)?
|
||||
_vContainer[i]->display(show);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue