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:
@@ -1170,6 +1170,8 @@ BMenu::Track(bool sticky, BRect *clickToOpenRect)
|
|||||||
UnlockLooper();
|
UnlockLooper();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_SetStickyMode(sticky);
|
||||||
|
|
||||||
int action;
|
int action;
|
||||||
BMenuItem *menuItem = _Track(&action);
|
BMenuItem *menuItem = _Track(&action);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user