From 46d1f8a03c3a7e33b930fa5987577953c0586948 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Thu, 19 May 2011 05:54:47 +0000 Subject: [PATCH] #7564 move the text cursor to the end of the word after replace of the misspelled with suggested text git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38786 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/Menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index 80e60228f3..6af599be58 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -788,8 +788,8 @@ void MenuDefinition::expandSpellingSuggestions(BufferView const * bv) LYXERR(Debug::GUI, suggestion); MenuItem w(MenuItem::Command, toqstr(suggestion), FuncRequest(LFUN_WORD_REPLACE, - replace2string(suggestion,selection, - true, true, false, false, false))); + replace2string(suggestion, selection, + true, true, false, true, false))); if (i < m) add(w); else