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:
Axel Dörfler 2004-10-27 16:42:05 +00:00
parent a7fb02e6a2
commit 1b50789288

View File

@ -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) {