http://bugzilla.lyx.org/show_bug.cgi?id=675
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17005
a592a061-630c-0410-9148-
cb99ea01b6c8
case LFUN_BREAK_PARAGRAPH_SKIP:
case LFUN_PARAGRAPH_SPACING:
case LFUN_PAGEBREAK_INSERT:
+ case LFUN_TABULAR_INSERT:
status.enabled(false);
return true;
+ case LFUN_INSET_INSERT: {
+ string const name = cmd.getArg(0);
+ if (name == "graphics"
+ || name == "include") {
+ status.enabled(false);
+ return true;
+ }
+ }
default:
return InsetText::getStatus(cur, cmd, status);
}