MenuItem::Archive uses BArchivable::Archive
inverted the enable state when initing the BMenu git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18071 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1161,7 +1161,9 @@ BMenu::InitData(BMessage *data)
|
||||
if (data != NULL) {
|
||||
data->FindInt32("_layout", (int32 *)&fLayout);
|
||||
data->FindBool("_rsize_to_fit", &fResizeToFit);
|
||||
data->FindBool("_disable", &fEnabled);
|
||||
bool disabled;
|
||||
if (data->FindBool("_disable", &disabled) == B_OK)
|
||||
fEnabled = !disabled;
|
||||
data->FindBool("_radio", &fRadioMode);
|
||||
|
||||
bool disableTrigger = false;
|
||||
|
||||
Reference in New Issue
Block a user