>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> I took the executive decision to do so, because hard crashes
Angus> are always bad.

OK. I was pondering whether this is related to
  http://bugzilla.lyx.org/show_bug.cgi?id=1451
but it is probably not. I guess I should apply the patch I have for
that.

JMarc

Index: src/frontends/controllers/ControlSpellchecker.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ControlSpellchecker.C,v
retrieving revision 1.36.2.5
diff -u -p -r1.36.2.5 ControlSpellchecker.C
--- src/frontends/controllers/ControlSpellchecker.C	10 Jun 2005 14:15:34 -0000	1.36.2.5
+++ src/frontends/controllers/ControlSpellchecker.C	10 Jun 2005 14:27:23 -0000
@@ -59,6 +59,13 @@ void ControlSpellchecker::clearParams()
 }
 
 	
+void ControlSpellchecker::updateSlot(bool switched)
+{
+	if (switched)
+		hide();
+}
+
+
 void ControlSpellchecker::startSession()
 {
 	lyxerr[Debug::GUI] << "spell startSession" << endl;
Index: src/frontends/controllers/ControlSpellchecker.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ControlSpellchecker.h,v
retrieving revision 1.14.2.3
diff -u -p -r1.14.2.3 ControlSpellchecker.h
--- src/frontends/controllers/ControlSpellchecker.h	7 Dec 2004 10:49:05 -0000	1.14.2.3
+++ src/frontends/controllers/ControlSpellchecker.h	10 Jun 2005 14:27:23 -0000
@@ -83,6 +83,10 @@ private:
 	/// not needed.
 	virtual void apply() {}
 
+	/** Instantiation of ControlConnectBD private virtual method.
+	    Slot connected to update signal. */
+	virtual void updateSlot(bool);
+
 	/// current word being checked and lang code
 	WordLangTuple word_;
 

Reply via email to