mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user