From d237672a06518106027833e7157352c3b83ef10f Mon Sep 17 00:00:00 2001 From: Ryan Leavengood Date: Sun, 19 Aug 2007 19:55:26 +0000 Subject: [PATCH] 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 --- src/kits/interface/Menu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kits/interface/Menu.cpp b/src/kits/interface/Menu.cpp index 93cf039c1f..56f247fec4 100644 --- a/src/kits/interface/Menu.cpp +++ b/src/kits/interface/Menu.cpp @@ -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);