On Tue, 2006-02-14 at 20:19 +0200, Martin Vermeer wrote:
> On Tue, Feb 14, 2006 at 05:40:39PM +0100, Jean-Marc Lasgouttes wrote:
> > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:

...
 
> > Could you take a look at the spellchecker code and see if you can
> > modify it in the same way? 
> > http://bugzilla.lyx.org/show_bug.cgi?id=2218
> > 
> > This code makes me mad...
> 
> It looks like a similar thing is happening... not nice, as we would have
> to simultaneously change front end code, controller code and code for
> three different spell checkers.

No, it's an entirely different kind of problem... generals are always
fighting the last war ;-) 

Patch attached, please give it a try.

- Martin

Index: QSpellchecker.C
===================================================================
--- QSpellchecker.C	(revision 13241)
+++ QSpellchecker.C	(working copy)
@@ -47,7 +47,8 @@
 
 void QSpellchecker::update_contents()
 {
-	controller().check();
+	if (isVisible())
+		controller().check();
 }
 
 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to