mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 18:56:49 +01:00
Keymap: Restore menu field status icons
Fixes the missing piece of hrev57496 "Keymap: Put status icons inside menu fields" Change-Id: I824f8c105036ae7ea6535f33e0ec0fa8f812f39d Reviewed-on: https://review.haiku-os.org/c/haiku/+/8112 Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org> Reviewed-by: John Scipione <jscipione@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
parent
2147db3699
commit
d26613e1bb
@ -297,7 +297,8 @@ ModifierKeysWindow::_CreateMenuField(BPopUpMenu** _menu, BMenuField** _menuField
|
||||
|
||||
BMessage* message = new BMessage(kMsgUpdateModifier);
|
||||
message->AddInt32(keyName, key);
|
||||
BMenuItem* item = new BMenuItem(B_TRANSLATE_NOCOLLECT(_KeyToString(key)), message);
|
||||
StatusMenuItem* item
|
||||
= new StatusMenuItem(B_TRANSLATE_NOCOLLECT(_KeyToString(key)), message);
|
||||
menu->AddItem(item, key);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user