]> sigrok.org Git - pulseview.git/commitdiff
Notify that config change when probes are enabled/disabled
authorJoel Holdsworth <redacted>
Mon, 10 Feb 2014 22:08:35 +0000 (22:08 +0000)
committerJoel Holdsworth <redacted>
Tue, 11 Feb 2014 21:45:57 +0000 (21:45 +0000)
This fixes 296

pv/devinst.cpp

index c0b87fe243414bf5167f7af7f49aed527367d124..4480c43fdb995234cb516cd1127ab632e4949ffb 100644 (file)
@@ -98,6 +98,7 @@ void DevInst::enable_probe(const sr_probe *probe, bool enable)
        for (const GSList *p = _sdi->probes; p; p = p->next)
                if (probe == p->data) {
                        const_cast<sr_probe*>(probe)->enabled = enable;
+                       config_changed();
                        return;
                }