X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fdecode%2Fannotation.cpp;h=30efb5179dbaea65ee06d8a5bc2de5dadff8d4fe;hp=0005847655fcfbc77d1451c2cc0f7d232f54e7c4;hb=3248fcde2deac2fc3fcddf0f3a5bb4695986eeb9;hpb=39a9065fa0b4fab83190b3bb468d0fdf7546197e diff --git a/pv/view/decode/annotation.cpp b/pv/view/decode/annotation.cpp index 00058476..30efb517 100644 --- a/pv/view/decode/annotation.cpp +++ b/pv/view/decode/annotation.cpp @@ -60,6 +60,8 @@ Annotation::Annotation(const srd_proto_data *const pdata) : (const srd_proto_data_annotation*)pdata->data; assert(pda); + _format = pda->ann_format; + const char *const *annotations = (char**)pda->ann_text; while(*annotations) { _annotations.push_back(QString(*annotations));