add alert on spellchecker failure.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4870 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-08-06 01:04:34 +00:00
parent 7072a496e2
commit 0547580aad
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-08-06 John Levon <levon@movementarian.org>
* ControlSpellchecker.C: show an alert with the
error message on initialisation failure
2002-08-04 John Levon <levon@movementarian.org>
* ControlSpellchecker.h:

View File

@ -25,6 +25,7 @@
#include "Liason.h"
#include "frontends/LyXView.h"
#include "frontends/Alert.h"
#include "support/lstrings.h"
@ -200,6 +201,7 @@ void ControlSpellchecker::clearParams()
// make sure that the dialog is not launched
emergency_exit_ = true;
Alert::alert("The spellchecker has failed", message_);
}
delete speller_;