]> sigrok.org Git - pulseview.git/commitdiff
Signal: Add clarifying comment
authorSoeren Apel <redacted>
Mon, 14 Dec 2020 22:08:15 +0000 (23:08 +0100)
committerSoeren Apel <redacted>
Tue, 15 Dec 2020 14:57:26 +0000 (15:57 +0100)
pv/views/trace/signal.cpp

index d1bae5e74789e05c0372fff3c055b102549bdcdc..cda9a4a4f314bab36bd118bc813a2fdb5706351b 100644 (file)
@@ -196,6 +196,7 @@ void Signal::on_name_changed(const QString &text)
 
 void Signal::on_disable()
 {
+       // For generated signals, "disable" means "remove"
        if (base_->is_generated())
                session_.remove_generated_signal(base_);
        else