mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Tell the user that LyX is already running when we do not start
because of 'use single instance'.
This commit is contained in:
parent
237378477f
commit
d550774772
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user