Author: axeld Date: 2011-05-26 20:21:58 +0200 (Thu, 26 May 2011) New Revision: 41762 Changeset: https://dev.haiku-os.org/changeset/41762 Ticket: https://dev.haiku-os.org/ticket/7553 Modified: haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.cpp Log: * Only overwrite the keymap label with "Custom" if there actually is no keymap selected. * This fixes #7553. +alpha Modified: haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.cpp =================================================================== --- haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.cpp 2011-05-26 18:10:43 UTC (rev 41761) +++ haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.cpp 2011-05-26 18:21:58 UTC (rev 41762) @@ -279,7 +279,8 @@ fLanguagesLabelView->SetText(B_TRANSLATE("Language")); fKeymapsMenuField->SetLabel(B_TRANSLATE("Keymap")); - fKeymapsMenuField->MenuItem()->SetLabel(B_TRANSLATE("Custom")); + if (fKeymapsMenuField->Menu()->FindMarked() == NULL) + fKeymapsMenuField->MenuItem()->SetLabel(B_TRANSLATE("Custom")); }