]> git.lyx.org Git - lyx.git/commitdiff
Fix bug #11635
authorRichard Kimberly Heck <rikiheck@lyx.org>
Wed, 8 Apr 2020 21:50:09 +0000 (17:50 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Thu, 16 Apr 2020 21:16:26 +0000 (17:16 -0400)
src/Server.cpp

index d4a2120b6ea5e3c0550b5348a59766971259898a..a3556d16632a30f3e0537b16100bb4609d2ea218 100644 (file)
@@ -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());