mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
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();
|
size_t iElementCnt = _vContainer[i]->getElementCnt();
|
||||||
if (iElementCnt > 0)
|
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…
x
Reference in New Issue
Block a user