X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FServer.cpp;h=b89e834f20408275b6200ec6de2a3b9ff1367fef;hb=32b65a8ee5ad6d5264011b66771a6ed91633ba3d;hp=c88ae8241a65e8664be701b8d81c2b7cd56fe5e2;hpb=a80e0cacb909878f63b4f9ec3af0fad5a3b9ff4e;p=lyx.git diff --git a/src/Server.cpp b/src/Server.cpp index c88ae8241a..b89e834f20 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -1175,7 +1175,7 @@ void Server::callback(string const & msg) // connect to the lyxfunc in the single GuiView we // support currently. (Lgb) - FuncRequest fr(lyxaction.lookupFunc(cmd), arg); + FuncRequest fr(lyxaction.lookupFunc(cmd), from_ascii(arg)); fr.setOrigin(FuncRequest::LYXSERVER); DispatchResult dr; theApp()->dispatch(fr, dr);