From 0547580aad1325b60a821e6d3e685b21859347b0 Mon Sep 17 00:00:00 2001 From: John Levon Date: Tue, 6 Aug 2002 01:04:34 +0000 Subject: [PATCH] add alert on spellchecker failure. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4870 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 5 +++++ src/frontends/controllers/ControlSpellchecker.C | 2 ++ 2 files changed, 7 insertions(+) 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_; -- 2.39.2