[LyX/master] Fix bug #11635
Richard Kimberly Heck
rikiheck at lyx.org
Thu Apr 16 20:56:23 UTC 2020
commit 46f1f6f1cbf2ddb4de8c4d96e76e3a1bd74f2e07
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Wed Apr 8 17:50:09 2020 -0400
Fix bug #11635
---
src/Server.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/Server.cpp b/src/Server.cpp
index d4a2120..a3556d1 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());
More information about the lyx-cvs
mailing list