]> git.lyx.org Git - features.git/commitdiff
#7564 move the text cursor to the end of the word after replace of the misspelled...
authorStephan Witt <switt@lyx.org>
Thu, 19 May 2011 05:54:47 +0000 (05:54 +0000)
committerStephan Witt <switt@lyx.org>
Thu, 19 May 2011 05:54:47 +0000 (05:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38786 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/Menus.cpp

index 80e60228f353dd7d450251ba83421271f634b65a..6af599be588bd2db1f416e92837838063a9379c4 100644 (file)
@@ -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