]> git.lyx.org Git - features.git/commitdiff
Do not force lfun argument to be pure ascii
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 2 Jul 2018 08:49:58 +0000 (10:49 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 4 Jul 2018 09:46:03 +0000 (11:46 +0200)
Fixes bug #11167.

(cherry picked from commit 8e015f3cb2879f625895cee10a19ec5796027d44)

src/Server.cpp
status.23x

index 8953c78dc34153b7d592bbc890dc5ccf44a7eb46..d883850263dd2e8a499ee873bd702fa537fa5553 100644 (file)
@@ -1178,7 +1178,7 @@ void Server::callback(string const & msg)
                        // connect to the lyxfunc in the single GuiView we
                        // support currently. (Lgb)
 
-                       FuncRequest fr(lyxaction.lookupFunc(cmd), from_ascii(arg));
+                       FuncRequest fr(lyxaction.lookupFunc(cmd), from_utf8(arg));
                        fr.setOrigin(FuncRequest::LYXSERVER);
                        DispatchResult dr;
                        theApp()->dispatch(fr, dr);
index ff3a95e88938ac37c3599e9b25029aae659e0aa0..87c030996079551f277b9b464b66c222a6ada2df 100644 (file)
@@ -99,8 +99,6 @@ What's new
 
 - Added C-M-i as a shortcut for LFUN_INSET_SETTINGS (bug 7662).
 
-- Disable completion in text wwhen there is a selection.
-
 
 * DOCUMENTATION AND LOCALIZATION
 
@@ -176,6 +174,8 @@ What's new
 
 - Disable CheckTeX while buffer is processed (bug 7434).
 
+- Disable completion in text when there is a selection.
+
 - Do not use English, but the context language, when pasting from LaTeX
   (bug 9199).
 
@@ -199,6 +199,9 @@ What's new
 
 - Fix crash with server-get-xy and tall inset (bug 8120).
 
+- Fix crash when opening file with non-acii file name in single
+  instance mode (bug 11167).
+
 - Improve Undo for operations that act on several buffers (bug 10823).
 
 - Improve rendering of square roots in math editor (bug 10814).