]> git.lyx.org Git - lyx.git/blobdiff - src/Server.cpp
Fix bug #11635
[lyx.git] / 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());