This commit is contained in:
Juergen Spitzmueller 2025-01-01 15:59:12 +01:00
parent b6e4ba2548
commit b319b31e6c

View File

@ -2210,10 +2210,10 @@ bool GuiView::nextError(string const & error_type, bool from_master, bool teston
for (auto const & err : el) { for (auto const & err : el) {
if (TexRow::isNone(err.start) || TexRow::getDocIteratorsFromEntries(err.start, err.end, buf).first <= bv->cursor()) if (TexRow::isNone(err.start) || TexRow::getDocIteratorsFromEntries(err.start, err.end, buf).first <= bv->cursor())
continue; continue;
if (testonly) if (!testonly) {
return true; DispatchResult dr;
DispatchResult dr; dispatch(TexRow::goToFunc(err.start, err.end), dr);
dispatch(TexRow::goToFunc(err.start, err.end), dr); }
return true; return true;
} }
@ -2717,6 +2717,7 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
// We guess it's from master if the single buffer list is empty // We guess it's from master if the single buffer list is empty
bool const from_master = currentBufferView()->buffer().errorList(d.last_export_format).empty(); bool const from_master = currentBufferView()->buffer().errorList(d.last_export_format).empty();
enable = nextError(d.last_export_format, from_master, true); enable = nextError(d.last_export_format, from_master, true);
break;
} }
case LFUN_COMMAND_EXECUTE: case LFUN_COMMAND_EXECUTE: