* 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
void QSpellchecker::update_contents()
{
- controller().check();
+ if (isVisible() || controller().exitEarly()) {
+ controller().check();
+ }
}
void QSpellchecker::update_contents()
{
- controller().check();
+ if (isVisible() || controller().exitEarly()) {
+ controller().check();
+ }
}
void FormSpellchecker::update()
{
- controller().check();
+ if (isVisible() || controller().exitEarly())
+ controller().check();
}