From: Richard Kimberly Heck Date: Wed, 8 Apr 2020 21:50:09 +0000 (-0400) Subject: Fix bug #11635 X-Git-Tag: lyx-2.4.0dev-acb2ca7b~1003 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=46f1f6f1cbf2ddb4de8c4d96e76e3a1bd74f2e07;p=features.git Fix bug #11635 --- diff --git a/src/Server.cpp b/src/Server.cpp index d4a2120b6e..a3556d1663 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -1002,6 +1002,9 @@ struct Sleep : QThread bool LyXComm::loadFilesInOtherInstance() { + if (theFilesToLoad().size() == 0) + return true; + int pipefd; int loaded_files = 0; FileName const pipe(inPipeName());