From: Daniel Ramoeller Date: Thu, 20 Apr 2023 21:49:46 +0000 (+0200) Subject: Don't add LabelString for Manual LabelType X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=975115479a69aa6026a5b922acc1c7b94bdd0be1;p=features.git Don't add LabelString for Manual LabelType Fix for bug #12753 --- diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 5487b80c77..025acf157e 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -4299,6 +4299,7 @@ docstring Paragraph::asString(pos_type beg, pos_type end, int options, const Out if (beg == 0 && options & AS_STR_LABEL + && d->layout_->labeltype != LABEL_MANUAL && !d->params_.labelString().empty()) os << d->params_.labelString() << ' ';