]> git.lyx.org Git - features.git/commitdiff
add missing spell check request on early return for deletion of text in change tracki...
authorStephan Witt <switt@lyx.org>
Wed, 29 Sep 2010 19:32:41 +0000 (19:32 +0000)
committerStephan Witt <switt@lyx.org>
Wed, 29 Sep 2010 19:32:41 +0000 (19:32 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35543 a592a061-630c-0410-9148-cb99ea01b6c8

src/Paragraph.cpp

index 720e3a7448f1ff864521d9558daf109b154ed616..359606a96641211be5f7a1c2e3458246a04b0884 100644 (file)
@@ -751,6 +751,8 @@ bool Paragraph::eraseChar(pos_type pos, bool trackChanges)
                if (!change.changed() ||
                      (change.inserted() && !change.currentAuthor())) {
                        setChange(pos, Change(Change::DELETED));
+                       // request run of spell checker
+                       requestSpellCheck(pos);
                        return false;
                }