X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FServerSocket.cpp;h=7940b7fc3886d2e3c5017c8c9894da437f237e32;hb=e6f46dd08c0e1ea040f7d085344d4fd568674cec;hp=12386af838687a1aef86a4edf1e1d407516b1998;hpb=61b2bd5e7fd9399128342d9048aa814ae5f086fc;p=lyx.git diff --git a/src/ServerSocket.cpp b/src/ServerSocket.cpp index 12386af838..7940b7fc38 100644 --- a/src/ServerSocket.cpp +++ b/src/ServerSocket.cpp @@ -40,7 +40,7 @@ using namespace std; using namespace lyx::support; -using boost::shared_ptr; + namespace lyx { @@ -143,6 +143,7 @@ void ServerSocket::dataCallback(int fd) string const cmd = line.substr(pos + 1); DispatchResult dr; theApp()->dispatch(lyxaction.lookupFunc(cmd), dr); + theApp()->dispatch(FuncRequest(LFUN_PARAGRAPH_UPDATE)); string const rval = to_utf8(dr.message()); if (dr.error()) client->writeln("ERROR:" + cmd + ':' + rval);