Don't add LabelString for Manual LabelType

Fix for bug  #12753
This commit is contained in:
Daniel Ramoeller 2023-04-20 23:49:46 +02:00 committed by Jean-Marc Lasgouttes
parent 4bbd4a45e7
commit 975115479a

View 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() << ' ';