From: Soeren Apel Date: Sun, 27 May 2018 06:49:17 +0000 (+0200) Subject: Fix #1182 by only considering enabled channels X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f9ebf303a853997535eb157f50d1fd28753d76bf;p=pulseview.git Fix #1182 by only considering enabled channels --- diff --git a/pv/data/decodesignal.cpp b/pv/data/decodesignal.cpp index e70947b2..fbbdd793 100644 --- a/pv/data/decodesignal.cpp +++ b/pv/data/decodesignal.cpp @@ -280,6 +280,9 @@ void DecodeSignal::auto_assign_signals(const shared_ptr dec) continue; for (shared_ptr s : session_.signalbases()) { + if (!s->enabled()) + continue; + const QString ch_name = ch.name.toLower(); const QString s_name = s->name().toLower();