and there, the usual forgotten stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17096 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2191a09a93
commit
7d550b53a0
@ -1186,6 +1186,8 @@ BMenu::_track(int *action, bigtime_t trackTime, long start)
|
||||
UnlockLooper();
|
||||
locked = false;
|
||||
int submenuAction = MENU_ACT_NONE;
|
||||
if (IsStickyMode())
|
||||
fSelected->Submenu()->SetStickyMode(true);
|
||||
BMenuItem *submenuItem = fSelected->Submenu()->_track(&submenuAction, startTime);
|
||||
if (submenuAction == MENU_ACT_CLOSE) {
|
||||
item = submenuItem;
|
||||
|
@ -416,6 +416,8 @@ BMenuBar::Track(int32 *action, int32 startIndex, bool showMenu)
|
||||
window->Unlock();
|
||||
locked = false;
|
||||
snoozeAmount = 0;
|
||||
if (IsStickyMode())
|
||||
menu->SetStickyMode(true);
|
||||
resultItem = menu->_track(&localAction, startTime);
|
||||
}
|
||||
} else if (menuItem == NULL && !IsStickyMode())
|
||||
|
Loading…
Reference in New Issue
Block a user