We don't always want that, just with custom insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26855 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-10-12 04:12:37 +00:00
parent 02e4744ce3
commit b03a5823be

View File

@ -860,7 +860,8 @@ void MenuDefinition::expandFlexInsert(Buffer const * buf, string s)
addedOne = true;
}
}
if (!addedOne)
// FIXME This is a little clunky.
if (!addedOne && s == "custom")
add(MenuItem(MenuItem::Command,
qt_("No custom insets defined!"),
FuncRequest(LFUN_NOACTION)));