git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8887 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2004-08-12 20:43:24 +00:00
parent d51de18996
commit b40892a2ee

View File

@ -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);
}