X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSplit.cpp;h=31314b3f842822b38bf70ebd02d0978353a81538;hb=21c92c8a129b5f3ff56de33bf2941a25967cffbb;hp=ebc8162dd91a38d4eeea15641b5879fc2b05d6e5;hpb=44816adce634c8a06c1ff0591adbcf042ec4c072;p=lyx.git diff --git a/src/mathed/InsetMathSplit.cpp b/src/mathed/InsetMathSplit.cpp index ebc8162dd9..31314b3f84 100644 --- a/src/mathed/InsetMathSplit.cpp +++ b/src/mathed/InsetMathSplit.cpp @@ -116,6 +116,12 @@ bool InsetMathSplit::getStatus(Cursor & cur, FuncRequest const & cmd, switch (cmd.action()) { case LFUN_TABULAR_FEATURE: { string s = cmd.getArg(0); + if (s == "append-column" + && (name_ == "gathered" || name_ == "lgathered" || name_ == "rgathered")) { + // gathered does not support multiple columns + flag.setEnabled(false); + return true; + } if (s == "add-vline-left" || s == "add-vline-right") { flag.message(bformat( from_utf8(N_("Can't add vertical grid lines in '%1$s'")),