]> git.lyx.org Git - features.git/commitdiff
* GuiSpellchecker.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 9 Feb 2010 17:55:17 +0000 (17:55 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 9 Feb 2010 17:55:17 +0000 (17:55 +0000)
- clear selection when ignore is clicked. Otherwise, LyX hangs
  at the last word of an inset, if this word was misspelled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33396 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiSpellchecker.cpp

index 7fc734a58aaaffd29a99de831937fb95457c998b..f4350981f0b63f81e54ed4772e548860a017185d 100644 (file)
@@ -183,6 +183,7 @@ void GuiSpellchecker::on_addPB_clicked()
 
 void GuiSpellchecker::on_ignorePB_clicked()
 {
+       dispatch(FuncRequest(LFUN_ESCAPE));
        dispatch(FuncRequest(LFUN_CHAR_FORWARD));
        check();
 }