]> sigrok.org Git - pulseview.git/commitdiff
View: Update view on capture state change
authorPeter Zotov <redacted>
Thu, 13 Nov 2014 13:26:11 +0000 (16:26 +0300)
committerUwe Hermann <redacted>
Thu, 13 Nov 2014 19:12:33 +0000 (20:12 +0100)
pv/view/view.cpp

index 1d55e14f7c91f20f55d09bffc1d4540d8819ddb6..11026883bab1a7842dba1483c1c58c8b0650cb72 100644 (file)
@@ -92,6 +92,8 @@ View::View(SigSession &session, QWidget *parent) :
 
        connect(&_session, SIGNAL(signals_changed()),
                this, SLOT(signals_changed()));
+       connect(&_session, SIGNAL(capture_state_changed(int)),
+               this, SLOT(data_updated()));
        connect(&_session, SIGNAL(data_received()),
                this, SLOT(data_updated()));
        connect(&_session, SIGNAL(frame_ended()),