pass -1 as first parameter of StartMenuBar(), otherwise it will hide the
cursor (used for keyboard navigation). Fixes bug #1807 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24003 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4db9f96954
commit
44cd9847e9
@ -301,9 +301,10 @@ BMenuField::MouseDown(BPoint where)
|
||||
|
||||
BRect bounds = fMenuBar->ConvertFromParent(Bounds());
|
||||
|
||||
fMenuBar->StartMenuBar(0, false, true, &bounds);
|
||||
fMenuBar->StartMenuBar(-1, false, true, &bounds);
|
||||
|
||||
fMenuTaskID = spawn_thread((thread_func)_thread_entry, "_m_task_", B_NORMAL_PRIORITY, this);
|
||||
fMenuTaskID = spawn_thread((thread_func)_thread_entry,
|
||||
"_m_task_", B_NORMAL_PRIORITY, this);
|
||||
if (fMenuTaskID >= 0)
|
||||
resume_thread(fMenuTaskID);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user