mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix ChkTeX error reporting (#8639)
ChkTeX errors from a previous run are now cleared from the error list if ChkTeX exits with no error.
This commit is contained in:
parent
b75ecdfaf0
commit
4e6932e44f
@ -1981,7 +1981,7 @@ int Buffer::runChktex()
|
||||
if (res == -1) {
|
||||
Alert::error(_("chktex failure"),
|
||||
_("Could not run chktex successfully."));
|
||||
} else if (res > 0) {
|
||||
} else {
|
||||
ErrorList & errlist = d->errorLists["ChkTeX"];
|
||||
errlist.clear();
|
||||
bufferErrors(terr, errlist);
|
||||
|
Loading…
Reference in New Issue
Block a user