Patch from Martin Vermeer for bug 2218.

* src/frontends/xforms/FormSpellchecker.C (update): 
	* src/frontends/qt[34]/QSpellchecker.C (update_contents): fix bug 
	2218: Spellchecker doesn't pop up dialogue window for the first 
	misspelled word.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14246 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-06-27 12:20:16 +00:00
parent 206b13ef95
commit f861ba839d
3 changed files with 8 additions and 3 deletions

View File

@ -47,7 +47,9 @@ void QSpellchecker::build_dialog()
void QSpellchecker::update_contents()
{
controller().check();
if (isVisible() || controller().exitEarly()) {
controller().check();
}
}

View File

@ -46,7 +46,9 @@ void QSpellchecker::build_dialog()
void QSpellchecker::update_contents()
{
controller().check();
if (isVisible() || controller().exitEarly()) {
controller().check();
}
}

View File

@ -80,7 +80,8 @@ void FormSpellchecker::build()
void FormSpellchecker::update()
{
controller().check();
if (isVisible() || controller().exitEarly())
controller().check();
}