mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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:
parent
02e4744ce3
commit
b03a5823be
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user