mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Do not ignore literate programming errors
This commit is contained in:
parent
2aa2544e1d
commit
8eb8e49ebe
@ -2371,9 +2371,13 @@ void Buffer::dispatch(FuncRequest const & func, DispatchResult & dr)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case LFUN_BUILD_PROGRAM:
|
case LFUN_BUILD_PROGRAM: {
|
||||||
doExport("program", true);
|
ExportStatus const status = doExport("program", true);
|
||||||
|
dr.setError(status != ExportSuccess);
|
||||||
|
if (status != ExportSuccess)
|
||||||
|
dr.setMessage(_("Error generating literate programming code."));
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case LFUN_BUFFER_CHKTEX:
|
case LFUN_BUFFER_CHKTEX:
|
||||||
runChktex();
|
runChktex();
|
||||||
|
Loading…
Reference in New Issue
Block a user