mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
Improve error message when LaTeX process is killed.
This commit is contained in:
parent
eb6ec4246b
commit
176eee2420
@ -820,6 +820,12 @@ bool Converters::runLaTeX(Buffer const & buffer, string const & command,
|
||||
});
|
||||
int const result = latex.run(terr);
|
||||
|
||||
if (result == Systemcall::KILLED) {
|
||||
Alert::error(_("Export canceled"),
|
||||
_("The export process was terminated by the user."));
|
||||
return result;
|
||||
}
|
||||
|
||||
if (result & LaTeX::ERRORS)
|
||||
buffer.bufferErrors(terr, errorList);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user