Ticket #1482: 1482.diff
File 1482.diff, 790 bytes (added by , 16 years ago) |
---|
-
src/system/boot/platform/generic/text_menu.cpp
352 352 int32 selected; 353 353 MenuItem *item = menu->FindSelected(&selected); 354 354 if (item == NULL) { 355 selected = menu->CountItems() - 1;355 selected = 0; 356 356 item = menu->ItemAt(selected); 357 357 if (item != NULL) 358 358 item->Select(true); … … 414 414 } else if (key == TEXT_CONSOLE_KEY_RETURN 415 415 || key == TEXT_CONSOLE_KEY_SPACE) { 416 416 // leave the menu 417 if (item->Submenu() != NULL ) {417 if (item->Submenu() != NULL && key == TEXT_CONSOLE_KEY_RETURN) { 418 418 int32 offset = sMenuOffset; 419 419 menu->Hide(); 420 420