I wonder how long this has been broken (if it ever worked)
bool GuiTabular::funcEnabled(Tabular::Feature f) const
{
- FuncRequest r(LFUN_INSET_MODIFY, "tabular for-dialog" + featureAsString(f));
+ FuncRequest r(LFUN_INSET_MODIFY, "tabular for-dialog " + featureAsString(f));
return getStatus(r).enabled();
}
case LFUN_INSET_MODIFY:
// we come from the dialog
- if (cmd.getArg(0) == "tabular")
+ if (cmd.getArg(0) == "tabular" && cmd.getArg(1) != "for-dialog")
tabularFeatures(cur, cmd.getLongArg(1));
else
cur.undispatched();