mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Fix #613
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8887 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d51de18996
commit
b40892a2ee
@ -1008,6 +1008,16 @@ bool MathHullInset::getStatus(LCursor & cur, FuncRequest const & cmd,
|
|||||||
case LFUN_MATH_DISPLAY:
|
case LFUN_MATH_DISPLAY:
|
||||||
// we handle these
|
// we handle these
|
||||||
return true;
|
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:
|
default:
|
||||||
return MathGridInset::getStatus(cur, cmd, flag);
|
return MathGridInset::getStatus(cur, cmd, flag);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user