]> git.lyx.org Git - lyx.git/commitdiff
Don't add LabelString for Manual LabelType
authorDaniel Ramoeller <d.lyx@web.de>
Thu, 20 Apr 2023 21:49:46 +0000 (23:49 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 14 Jul 2023 17:06:40 +0000 (19:06 +0200)
Fix for bug  #12753

src/Paragraph.cpp

index 5487b80c77b7b8ec5e058c4562f5365c39a134e4..025acf157ef93c19442ed9e907ac037c820be796 100644 (file)
@@ -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() << ' ';