]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.cpp
View: Update view on capture state change
[pulseview.git] / 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()),