From: Richard Kimberly Heck Date: Sat, 18 Apr 2020 18:41:26 +0000 (-0400) Subject: Tell the user that LyX is already running when we do not start X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e572daf28631b64dab008b52e239f78d4089587a;p=features.git Tell the user that LyX is already running when we do not start because of 'use single instance'. --- 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());