Fix issue with CAS.

See http://thread.gmane.org/gmane.editors.lyx.devel/153516
This regression was due to a thinko in [43f6b167/lyxgit].
This commit is contained in:
Enrico Forestieri 2014-11-09 21:33:53 +01:00
parent 18a5207c82
commit 5644470576
2 changed files with 3 additions and 1 deletions

View File

@ -1346,7 +1346,7 @@ void InsetMathHull::doExtern(Cursor & cur, FuncRequest & func)
MathData ar;
if (cur.inMathed() && cur.selection()) {
asArray(grabAndEraseSelection(cur), ar);
} else if (!pos == cur.cell().empty()) {
} else if (pos == cur.cell().size()) {
ar = cur.cell();
lyxerr << "use whole cell: " << ar << endl;
} else {

View File

@ -96,6 +96,8 @@ What's new
- Disallow to insert program listings to footnotes and margin notes (bug 9321).
- Fix computer algebra system computations in formulas with '=' signs.
* INTERNALS