]> git.lyx.org Git - lyx.git/blobdiff - src/Server.cpp
Use InsetLayout for LaTeX output.
[lyx.git] / src / Server.cpp
index fed89ace5b0ce4813f65745133dd79bb55449667..1e673e6f8708e9fa1701b74dc0572dcc0d271c42 100644 (file)
@@ -1173,10 +1173,10 @@ void Server::callback(string const & msg)
                        // connect to the lyxfunc in the single GuiView we
                        // support currently. (Lgb)
 
-                       FuncRequest const fr(lyxaction.lookupFunc(cmd), arg);
+                       FuncRequest fr(lyxaction.lookupFunc(cmd), arg);
+                       fr.setOrigin(FuncRequest::LYXSERVER);
                        DispatchResult dr;
                        theApp()->dispatch(fr, dr);
-                       theApp()->dispatch(FuncRequest(LFUN_PARAGRAPH_UPDATE));
                        string const rval = to_utf8(dr.message());
 
                        // all commands produce an INFO or ERROR message