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;
|
||||
}
|
||||
|
||||
case LFUN_BUILD_PROGRAM:
|
||||
doExport("program", true);
|
||||
case LFUN_BUILD_PROGRAM: {
|
||||
ExportStatus const status = doExport("program", true);
|
||||
dr.setError(status != ExportSuccess);
|
||||
if (status != ExportSuccess)
|
||||
dr.setMessage(_("Error generating literate programming code."));
|
||||
break;
|
||||
}
|
||||
|
||||
case LFUN_BUFFER_CHKTEX:
|
||||
runChktex();
|
||||
|
Loading…
Reference in New Issue
Block a user