]> git.lyx.org Git - features.git/commitdiff
Disable TABLUAR_STYLE_INSERT with TABULAR_INSERT
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 4 Apr 2019 06:24:25 +0000 (08:24 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 4 Apr 2019 06:24:25 +0000 (08:24 +0200)
src/insets/InsetScript.cpp
src/insets/InsetTabular.cpp

index c7bdd4279d0ee7778ae7dc5ad7ca46ead262d8cd..f87f6c474765f4a6b6888b442f8580cb69f4dbc8 100644 (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;
index d3976fea4a5ea3b55d93c98b3e91d6a7c000e117..9f2ef5efa9e4487d32a8da8beafc3738a78ae687 100644 (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: