Set sticky mode to the correct value before calling BMenu::_Track().

Fixes bug #1679


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23201 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2008-01-01 14:37:19 +00:00
parent f8e6b29ada
commit 4b812f294e

View File

@ -1170,6 +1170,8 @@ BMenu::Track(bool sticky, BRect *clickToOpenRect)
UnlockLooper();
}
_SetStickyMode(sticky);
int action;
BMenuItem *menuItem = _Track(&action);