commit 5d7c7d98075cb1f48be816d016e14cc07c3f3fb3
Author: Juergen Spitzmueller <[email protected]>
Date:   Thu Aug 13 13:31:20 2026 +0200

    Amend 072117082d33
---
 src/Paragraph.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 8ed864f761..197d32ee42 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -4605,7 +4605,8 @@ docstring Paragraph::asString(pos_type beg, pos_type end, 
int options, const Out
            && d->layout_->labeltype != LABEL_MANUAL
            && !d->params_.labelString().empty()) {
                os << d->params_.labelString();
-               if (layout().labelIsAbove() && !runparams->find_effective())
+               if (layout().labelIsAbove()
+                   && (runparams == nullptr || !runparams->find_effective()))
                        os << "\n\n";
                else
                        os << " ";
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to