A fix to bug #1154 by Justin O'Dell. Basically the settings for menus
default to having no accelerators, but that setting was not ever read properly. So in fact the meny pref was correct, but the menus were wrong. This fixes that. If the default setting is supposed to be accelerators on then the settings should be changed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22011 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c18df4b601
commit
d237672a06
@ -1204,6 +1204,8 @@ BMenu::InitData(BMessage *data)
|
||||
SetLowColor(sMenuInfo.background_color);
|
||||
SetViewColor(sMenuInfo.background_color);
|
||||
|
||||
fTriggerEnabled = sMenuInfo.triggers_always_shown;
|
||||
|
||||
if (data != NULL) {
|
||||
data->FindInt32("_layout", (int32 *)&fLayout);
|
||||
data->FindBool("_rsize_to_fit", &fResizeToFit);
|
||||
|
Loading…
Reference in New Issue
Block a user