Running a menu may change the currently selected entry, so we need to update its saved index.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9536 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a7fb02e6a2
commit
1b50789288
@ -386,6 +386,7 @@ run_menu(Menu *menu)
|
||||
|
||||
// restore current menu
|
||||
sMenuOffset = offset;
|
||||
menu->FindSelected(&selected);
|
||||
menu->Show();
|
||||
draw_menu(menu);
|
||||
} else if (item->Type() == MENU_ITEM_MARKABLE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user