commit b319b31e6c3f778dfdd7cdd6e3533c1591810b4d
Author: Juergen Spitzmueller <[email protected]>
Date: Wed Jan 1 15:59:12 2025 +0100
Amend b6e4ba254855
---
src/frontends/qt/GuiView.cpp | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index 999f72f649..c4da265564 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -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:
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs