mirror of
https://github.com/reactos/reactos.git
synced 2025-06-22 10:20:22 +00:00
[RSHELL]
* Fix some small things that were getting in the way of fixing the start menu (which was broken and no one noticed). The actual fix will come tomorrow since my brain is about to implode at this time. svn path=/branches/shell-experiments/; revision=65065
This commit is contained in:
parent
c199f8be2e
commit
dc1da96ab8
5 changed files with 49 additions and 18 deletions
|
@ -832,6 +832,11 @@ HRESULT CMenuFocusManager::PopMenuBar(CMenuBand * mb)
|
|||
|
||||
DbgPrint("PopMenuBar %p\n", mb);
|
||||
|
||||
if (m_current == m_entryUnderMouse)
|
||||
{
|
||||
m_entryUnderMouse = NULL;
|
||||
}
|
||||
|
||||
hr = PopFromArray(&type, &mbc, NULL);
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
{
|
||||
|
@ -871,6 +876,11 @@ HRESULT CMenuFocusManager::PopMenuPopup(CMenuBand * mb)
|
|||
|
||||
DbgPrint("PopMenuPopup %p\n", mb);
|
||||
|
||||
if (m_current == m_entryUnderMouse)
|
||||
{
|
||||
m_entryUnderMouse = NULL;
|
||||
}
|
||||
|
||||
hr = PopFromArray(&type, &mbc, NULL);
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue