]> git.lyx.org Git - lyx.git/commitdiff
add alert on spellchecker failure.
authorJohn Levon <levon@movementarian.org>
Tue, 6 Aug 2002 01:04:34 +0000 (01:04 +0000)
committerJohn Levon <levon@movementarian.org>
Tue, 6 Aug 2002 01:04:34 +0000 (01:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4870 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlSpellchecker.C

index d7d49d409b9683d33d02c8617de28097a4591541..0b35cd27ffad1380a595263e5e45a42faa0a5b0f 100644 (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:
 2002-08-04  John Levon  <levon@movementarian.org>
 
        * ControlSpellchecker.h:
index 97db1d0bde0e8317add6eccd2f0eb9f8add15d78..10420d6c65b5ac3b8b3fed815f3103c9fee2d256 100644 (file)
@@ -25,6 +25,7 @@
 #include "Liason.h"
 
 #include "frontends/LyXView.h"
 #include "Liason.h"
 
 #include "frontends/LyXView.h"
+#include "frontends/Alert.h"
 
 #include "support/lstrings.h"
 
 
 #include "support/lstrings.h"
 
@@ -200,6 +201,7 @@ void ControlSpellchecker::clearParams()
 
                // make sure that the dialog is not launched
                emergency_exit_ = true;
 
                // make sure that the dialog is not launched
                emergency_exit_ = true;
+               Alert::alert("The spellchecker has failed", message_);
        }
 
        delete speller_;
        }
 
        delete speller_;