Fix silly little bug that resulted in only being able to use the

spell checker once.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2811 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2001-09-27 13:10:28 +00:00
parent b417629800
commit 5dc77bb072
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
* ControlSpellchecker.C (clearParams): place emergency_exit_ in
the correct place. Can now check spelling more than once!
2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
* ControlSplash.[Ch]: removed.

View File

@ -219,6 +219,9 @@ void ControlSpellchecker::clearParams()
speller_->cleanUp();
message_ = _("The spell checker has died for some reason.\n"
"Maybe it has been killed.");
// make sure that the dialog is not launched
emergency_exit_ = true;
}
delete speller_;
@ -239,9 +242,6 @@ void ControlSpellchecker::clearParams()
stop_ = false;
result_ = SpellBase::ISP_UNKNOWN;
speller_ = 0;
// make sure that the dialog is not launched
emergency_exit_ = true;
}