From d1feeaaf2d437c60e09945cdeb3530322247d75e 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 (cherry picked from commit 46f1f6f1cbf2ddb4de8c4d96e76e3a1bd74f2e07) --- src/Server.cpp | 3 +++ status.23x | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/Server.cpp b/src/Server.cpp index 566f8f3344..17829da77c 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 ebfac89035..acd7e1233b 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 -- 2.39.5