From: Joel Holdsworth Date: Sun, 2 Mar 2014 21:40:13 +0000 (+0000) Subject: Notify repaint after decode_data instead of inside annotation_callback X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=commitdiff_plain;h=1c5fb7593d34daeca31148eb48de4ff7a0c6aa05 Notify repaint after decode_data instead of inside annotation_callback --- 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()