From: John Levon Date: Tue, 6 Aug 2002 01:04:34 +0000 (+0000) Subject: add alert on spellchecker failure. X-Git-Tag: 1.6.10~18671 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0547580aad1325b60a821e6d3e685b21859347b0;p=features.git add alert on spellchecker failure. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4870 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index d7d49d409b..0b35cd27ff 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,8 @@ +2002-08-06 John Levon + + * ControlSpellchecker.C: show an alert with the + error message on initialisation failure + 2002-08-04 John Levon * ControlSpellchecker.h: diff --git a/src/frontends/controllers/ControlSpellchecker.C b/src/frontends/controllers/ControlSpellchecker.C index 97db1d0bde..10420d6c65 100644 --- a/src/frontends/controllers/ControlSpellchecker.C +++ b/src/frontends/controllers/ControlSpellchecker.C @@ -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_;