From: Soeren Apel Date: Mon, 14 Dec 2020 22:08:15 +0000 (+0100) Subject: Signal: Add clarifying comment X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=76c2f5b8478f5217c69f06ff927039b3b3e60294;p=pulseview.git Signal: Add clarifying comment --- diff --git a/pv/views/trace/signal.cpp b/pv/views/trace/signal.cpp index d1bae5e7..cda9a4a4 100644 --- a/pv/views/trace/signal.cpp +++ b/pv/views/trace/signal.cpp @@ -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