mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
fix triple-select.lyx crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4884 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
960db78b52
commit
184d4cd087
@ -1,3 +1,8 @@
|
||||
2002-08-07 John Levon <levon@movementarian.org>
|
||||
|
||||
* ControlSpellchecker.C: fix crash when spellchecker doesn't
|
||||
initialise
|
||||
|
||||
2002-08-06 John Levon <levon@movementarian.org>
|
||||
|
||||
* ControlSpellchecker.C:
|
||||
|
@ -71,6 +71,8 @@ void ControlSpellchecker::setParams()
|
||||
}
|
||||
|
||||
if (!speller_->error().empty()) {
|
||||
emergency_exit_ = true;
|
||||
Alert::alert("The spellchecker has failed", speller_->error());
|
||||
clearParams();
|
||||
return;
|
||||
}
|
||||
@ -184,7 +186,8 @@ void ControlSpellchecker::stop()
|
||||
|
||||
void ControlSpellchecker::clearParams()
|
||||
{
|
||||
if (!speller_) return;
|
||||
if (!speller_)
|
||||
return;
|
||||
|
||||
if (speller_->alive()) {
|
||||
speller_->close();
|
||||
|
Loading…
Reference in New Issue
Block a user