From b40892a2eeeff74e1ae89eb8142426bb98953e43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 12 Aug 2004 20:43:24 +0000 Subject: [PATCH] Fix #613 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8887 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_hullinset.C | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mathed/math_hullinset.C b/src/mathed/math_hullinset.C index b56dec9d2c..72a3c32525 100644 --- a/src/mathed/math_hullinset.C +++ b/src/mathed/math_hullinset.C @@ -1008,6 +1008,16 @@ bool MathHullInset::getStatus(LCursor & cur, FuncRequest const & cmd, case LFUN_MATH_DISPLAY: // we handle these return true; + case LFUN_TABULAR_FEATURE: { + // should be more precise + istringstream is(cmd.argument); + string s; + is >> s; + if ((s == "append-column" || s == "delete-column") + && (type_ == "eqnarray" || type_ == "simple")) + return false; + return MathGridInset::getStatus(cur, cmd, flag); + } default: return MathGridInset::getStatus(cur, cmd, flag); } -- 2.39.2