]> sigrok.org Git - pulseview.git/commitdiff
Fix #1182 by only considering enabled channels
authorSoeren Apel <redacted>
Sun, 27 May 2018 06:49:17 +0000 (08:49 +0200)
committerSoeren Apel <redacted>
Sun, 27 May 2018 06:49:17 +0000 (08:49 +0200)
pv/data/decodesignal.cpp

index e70947b2c4989a11ddaf0cdaee38b3af946afa07..fbbdd793952d4ffd578532944ae4cab9c66ecfe5 100644 (file)
@@ -280,6 +280,9 @@ void DecodeSignal::auto_assign_signals(const shared_ptr<Decoder> dec)
                        continue;
 
                for (shared_ptr<data::SignalBase> s : session_.signalbases()) {
+                       if (!s->enabled())
+                               continue;
+
                        const QString ch_name = ch.name.toLower();
                        const QString s_name = s->name().toLower();