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,8 +47,10 @@ void QSpellchecker::build_dialog()
void QSpellchecker::update_contents()
{
if (isVisible() || controller().exitEarly()) {
controller().check();
}
}
void QSpellchecker::accept()

View File

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

View File

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