correct spell check request for Paragraph::changeLanguage()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39503 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2011-08-20 13:54:02 +00:00
parent 5098c71730
commit 2aca5e10f2

View File

@ -2932,9 +2932,9 @@ void Paragraph::changeLanguage(BufferParams const & bparams,
if (font.language() == from) {
font.setLanguage(to);
setFont(i, font);
d->requestSpellCheck(i);
}
}
d->requestSpellCheck(size());
}