Allows more than 3 lines per annotation to be shown

This commit is contained in:
Remi Palandri
2026-01-20 12:07:24 +01:00
committed by baldurk
parent aaf19a128c
commit 772e697fed
+2
View File
@@ -194,6 +194,8 @@ void AnnotationDisplay::addStructuredChildren(RDTreeWidgetItem *parent, const SD
if(obj->type.basetype == SDBasic::Chunk || obj->type.basetype == SDBasic::Struct ||
obj->type.basetype == SDBasic::Array)
addStructuredChildren(item, *obj);
else if(obj->type.basetype == SDBasic::String)
item->setText(1, QString(obj->data.str));
else
item->setText(1, SDObject2Variant(obj, false));