]> sigrok.org Git - pulseview.git/blobdiff - pv/view/header.cpp
Made Probes popup reusable
[pulseview.git] / pv / view / header.cpp
index f8f5b6380514ac2604730ce0a687c0c469fff04a..77a887f9fe4c9b6b232fa78aaf31cd11b3b5ecd3 100644 (file)
@@ -240,7 +240,12 @@ void Header::on_signals_changed()
        const vector< shared_ptr<Trace> > traces(_view.get_traces());
        BOOST_FOREACH(shared_ptr<Trace> t, traces) {
                assert(t);
-               connect(t.get(), SIGNAL(text_changed()), this, SLOT(update()));
+               connect(t.get(), SIGNAL(visibility_changed()),
+                       this, SLOT(update()));
+               connect(t.get(), SIGNAL(text_changed()),
+                       this, SLOT(update()));
+               connect(t.get(), SIGNAL(colour_changed()),
+                       this, SLOT(update()));
        }
 }