mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
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:
parent
206b13ef95
commit
f861ba839d
@ -47,7 +47,9 @@ void QSpellchecker::build_dialog()
|
||||
|
||||
void QSpellchecker::update_contents()
|
||||
{
|
||||
controller().check();
|
||||
if (isVisible() || controller().exitEarly()) {
|
||||
controller().check();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -46,7 +46,9 @@ void QSpellchecker::build_dialog()
|
||||
|
||||
void QSpellchecker::update_contents()
|
||||
{
|
||||
controller().check();
|
||||
if (isVisible() || controller().exitEarly()) {
|
||||
controller().check();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -80,7 +80,8 @@ void FormSpellchecker::build()
|
||||
|
||||
void FormSpellchecker::update()
|
||||
{
|
||||
controller().check();
|
||||
if (isVisible() || controller().exitEarly())
|
||||
controller().check();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user