From 46f1f6f1cbf2ddb4de8c4d96e76e3a1bd74f2e07 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Wed, 8 Apr 2020 17:50:09 -0400 Subject: [PATCH] Fix bug #11635 --- src/Server.cpp | 3 +++ 1 file changed, 3 insertions(+) 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());