Skip to content

Commit 6c0155a

Browse files
committed
[composer] Don't evaluate expression for label display name
1 parent 0cb9854 commit 6c0155a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/composer/qgscomposerlabel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ QString QgsComposerLabel::displayName() const
450450
}
451451

452452
//if no id, default to portion of label text
453-
QString text = displayText();
453+
QString text = mText;
454454
if ( text.isEmpty() )
455455
{
456456
return tr( "<label>" );

0 commit comments

Comments
 (0)