]> sigrok.org Git - pulseview.git/commitdiff
Notify repaint after decode_data instead of inside annotation_callback
authorJoel Holdsworth <redacted>
Sun, 2 Mar 2014 21:40:13 +0000 (21:40 +0000)
committerJoel Holdsworth <redacted>
Sun, 2 Mar 2014 21:40:13 +0000 (21:40 +0000)
pv/data/decoderstack.cpp

index 87ac32613f954e8fdbaa4333513e4b3211266dbd..2344804fd1f17d2e2490f83fa6d8df9128084f12 100644 (file)
@@ -309,6 +309,7 @@ void DecoderStack::decode_data(
                }
        }
 
+       new_decode_data();
 }
 
 void DecoderStack::decode_proc(shared_ptr<data::Logic> 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()