mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[EXPLORER]
* Fix count of visible buttons getting out of sync when removing buttons. Fixes empty space at the end of the notification toolbar. CORE-8840 #resolve #comment This should be fixed as of r65805. svn path=/trunk/; revision=65805
This commit is contained in:
parent
b11d90c85f
commit
c67d37f223
1 changed files with 6 additions and 1 deletions
|
@ -132,7 +132,6 @@ public:
|
|||
tbBtn.fsState |= TBSTATE_HIDDEN;
|
||||
m_VisibleButtonCount--;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* TODO: support NIF_INFO, NIF_GUID, NIF_REALTIME, NIF_SHOWTIP */
|
||||
|
@ -209,6 +208,12 @@ public:
|
|||
return;
|
||||
|
||||
DeleteButton(index);
|
||||
|
||||
if (!(notifyItem->dwState & NIS_HIDDEN))
|
||||
{
|
||||
m_VisibleButtonCount--;
|
||||
}
|
||||
|
||||
delete notifyItem;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue