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:
@@ -33,14 +33,9 @@ BSeparatorItem::~BSeparatorItem()
|
||||
}
|
||||
|
||||
|
||||
extern const char* B_CLASS_FIELD;
|
||||
|
||||
status_t
|
||||
BSeparatorItem::Archive(BMessage* archive, bool deep) const
|
||||
{
|
||||
if (!archive->HasString(B_CLASS_FIELD))
|
||||
archive->AddString(B_CLASS_FIELD, "BMenuItem");
|
||||
|
||||
return BMenuItem::Archive(archive, deep);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user