]> git.lyx.org Git - features.git/commit
Fix #6013: SIGABRT if we spell check inside a math macro, and then hit replace
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 7 Jul 2009 10:50:27 +0000 (10:50 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 7 Jul 2009 10:50:27 +0000 (10:50 +0000)
commit73f9991eec5c076466d3847f324f4f0eb03eab3a
tree0b6b7214fcf64e6e5875498d13aac354304d2027
parent1c6eea89b46f874d39f5f18433086f05e6e48a8c
Fix #6013: SIGABRT if we spell check inside a math macro, and then hit replace

This is just a matter of checking that we are in an insettext before calling
replaceSelectionWithString. I guess there are other good ways to fix the crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30399 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiSpellchecker.cpp