mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 02:54:09 +00:00
Amend b6e4ba2548
This commit is contained in:
parent
b6e4ba2548
commit
b319b31e6c
@ -2210,10 +2210,10 @@ bool GuiView::nextError(string const & error_type, bool from_master, bool teston
|
||||
for (auto const & err : el) {
|
||||
if (TexRow::isNone(err.start) || TexRow::getDocIteratorsFromEntries(err.start, err.end, buf).first <= bv->cursor())
|
||||
continue;
|
||||
if (testonly)
|
||||
return true;
|
||||
DispatchResult dr;
|
||||
dispatch(TexRow::goToFunc(err.start, err.end), dr);
|
||||
if (!testonly) {
|
||||
DispatchResult dr;
|
||||
dispatch(TexRow::goToFunc(err.start, err.end), dr);
|
||||
}
|
||||
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
|
||||
bool const from_master = currentBufferView()->buffer().errorList(d.last_export_format).empty();
|
||||
enable = nextError(d.last_export_format, from_master, true);
|
||||
break;
|
||||
}
|
||||
|
||||
case LFUN_COMMAND_EXECUTE:
|
||||
|
Loading…
Reference in New Issue
Block a user