Disable TABLUAR_STYLE_INSERT with TABULAR_INSERT

This commit is contained in:
Juergen Spitzmueller 2019-04-04 08:24:25 +02:00
parent 2709c5fb58
commit 97d3b73e9a
2 changed files with 2 additions and 0 deletions

View File

@ -281,6 +281,7 @@ bool InsetScript::getStatus(Cursor & cur, FuncRequest const & cmd,
case LFUN_PREVIEW_INSERT:
case LFUN_QUOTE_INSERT:
case LFUN_TABULAR_INSERT:
case LFUN_TABULAR_STYLE_INSERT:
case LFUN_WRAP_INSERT:
flag.setEnabled(false);
return true;

View File

@ -5572,6 +5572,7 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd,
// disable these with multiple cells selected
case LFUN_INSET_INSERT:
case LFUN_TABULAR_INSERT:
case LFUN_TABULAR_STYLE_INSERT:
case LFUN_FLEX_INSERT:
case LFUN_FLOAT_INSERT:
case LFUN_FLOAT_WIDE_INSERT: