From 1c5fb7593d34daeca31148eb48de4ff7a0c6aa05 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sun, 2 Mar 2014 21:40:13 +0000 Subject: [PATCH] Notify repaint after decode_data instead of inside annotation_callback --- pv/data/decoderstack.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index 87ac326..2344804 100644 --- a/pv/data/decoderstack.cpp +++ b/pv/data/decoderstack.cpp @@ -309,6 +309,7 @@ void DecoderStack::decode_data( } } + new_decode_data(); } void DecoderStack::decode_proc(shared_ptr data) @@ -413,8 +414,6 @@ void DecoderStack::annotation_callback(srd_proto_data *pdata, void *decoder) // Add the annotation (*row_iter).second.push_annotation(a); - - d->new_decode_data(); } void DecoderStack::on_new_frame() -- 2.30.2