lasgout...@lyx.org wrote:
Author: lasgouttes
Date: Tue Jun 23 16:47:29 2009
New Revision: 30244
URL: http://www.lyx.org/trac/changeset/30244
Log:
fix assertion when inserting math inset
Thanks.
Modified:
lyx-devel/trunk/src/Text3.cpp
Modified: lyx-devel/trunk/src/Text3.cpp
==============================================================================
--- lyx-devel/trunk/src/Text3.cpp Tue Jun 23 15:29:41 2009 (r30243)
+++ lyx-devel/trunk/src/Text3.cpp Tue Jun 23 16:47:29 2009 (r30244)
@@ -2030,10 +2030,9 @@
break;
}
- if (lyxrc.spellcheck_continuously) {
- // Profit from this occasion to spellcheck current word.
+ if (lyxrc.spellcheck_continuously && cur.inTexted())
+ // Take this opportunity to spellcheck current word.
I was thinking in French, sorry :-)
Abdel.