* src/frontends/controllers/ControlSpellchecker.cpp:

- update screen after checking the last word (bug 3586).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21348 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-11-01 17:45:39 +00:00
parent 59513f7dc7
commit 147e31bff5
2 changed files with 8 additions and 0 deletions

View File

@ -219,6 +219,11 @@ void ControlSpellchecker::check()
// end of document
if (getWord().empty()) {
// FIXME: if we used a lfun like in find/replace, dispatch
// would do that for us
kernel().bufferview()->update();
// FIXME: this Controller is very badly designed...
kernel().lyxview().currentWorkArea()->redraw();
showSummary();
exitEarly_ = true;
return;

View File

@ -96,6 +96,9 @@ What's new
- Really highlight search text (bug 3999).
- Fix bug where the spellchecker didn't update the screen display on the last of
several misspelt words (bug 3586).
* DOCUMENTATION