In r33495, "LFUN_TABULAR_FEATURE" was replaced by "LFUN_INSET_MODIFY tabular". However, the status of LFUN_INSET_MODIFY is always enabled while a lot of insets are not allowed to change the number of columns etc.
There we need to disable the "LFUN_INSET_MODIFY tabular" status.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34613
a592a061-630c-0410-9148-
cb99ea01b6c8
// Allow modification of our data.
// This needs to be handled in the doDispatch method of our
// instantiatable children.
+ // FIXME: Why don't we let the insets determine whether this
+ // should be enabled or not ? Now we need this check for
+ // the tabular features. (vfr)
+ if (cmd.getArg(0) == "tabular")
+ return false;
flag.setEnabled(true);
return true;