From fe80b890723ce7c0cf3822f3139e928bcb30026c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 26 May 2011 18:21:58 +0000 Subject: [PATCH] * Only overwrite the keymap label with "Custom" if there actually is no keymap selected. * This fixes #7553. +alpha git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41762 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/readonlybootprompt/BootPromptWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/readonlybootprompt/BootPromptWindow.cpp b/src/apps/readonlybootprompt/BootPromptWindow.cpp index 71f1473a43..4e7b7dd618 100644 --- a/src/apps/readonlybootprompt/BootPromptWindow.cpp +++ b/src/apps/readonlybootprompt/BootPromptWindow.cpp @@ -279,7 +279,8 @@ BootPromptWindow::_UpdateStrings() 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")); }