From: Joel Holdsworth Date: Mon, 10 Feb 2014 22:08:35 +0000 (+0000) Subject: Notify that config change when probes are enabled/disabled X-Git-Tag: pulseview-0.2.0~71 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=8283c116efc6af0a1adc583be38ab711aa9f2cbb;hp=d01c9439ccded6e751562996b80600a8c7397693 Notify that config change when probes are enabled/disabled This fixes 296 --- diff --git a/pv/devinst.cpp b/pv/devinst.cpp index c0b87fe2..4480c43f 100644 --- a/pv/devinst.cpp +++ b/pv/devinst.cpp @@ -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(probe)->enabled = enable; + config_changed(); return; }