From d55077477233fba7bb1154661634c4f005995707 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Sat, 18 Apr 2020 14:41:26 -0400 Subject: [PATCH] Tell the user that LyX is already running when we do not start because of 'use single instance'. --- src/Server.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Server.cpp b/src/Server.cpp index ab1b6361eb..5fb089d758 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -1002,9 +1002,11 @@ struct Sleep : QThread bool LyXComm::loadFilesInOtherInstance() { - if (theFilesToLoad().empty()) + if (theFilesToLoad().empty()) { + LYXERR0("LyX is already running in another instance\n" + "and 'use single instance' is active."); return true; - + } int pipefd; int loaded_files = 0; FileName const pipe(inPipeName());