commit d1feeaaf2d437c60e09945cdeb3530322247d75e
Author: Richard Kimberly Heck <[email protected]>
Date: Wed Apr 8 17:50:09 2020 -0400
Fix bug #11635
(cherry picked from commit 46f1f6f1cbf2ddb4de8c4d96e76e3a1bd74f2e07)
---
src/Server.cpp | 3 +++
status.23x | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/Server.cpp b/src/Server.cpp
index 566f8f3..17829da 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());
diff --git a/status.23x b/status.23x
index ebfac89..acd7e12 100644
--- a/status.23x
+++ b/status.23x
@@ -67,6 +67,8 @@ What's new
- Fix problems with apostrophe in path on Windows (bug 9368).
+- Don't open a new instance just because no files are given (bug 11635).
+
* USER INTERFACE
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs