add missing spell check request on early return for deletion of text in change tracking mode

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35543 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-09-29 19:32:41 +00:00
parent cc7db294e2
commit e32396ba76

View 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;
}