]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.cpp
Moved decoder config into the popup
[pulseview.git] / pv / view / view.cpp
index 508b91c5c385ff7e34fae595105396ba94bc4d66..42a2f79f0b22e96b45340c67aef0eabaa0c8957d 100644 (file)
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#include <libsigrokdecode/libsigrokdecode.h>
+
 #include <assert.h>
 #include <limits.h>
 #include <math.h>
@@ -390,7 +392,6 @@ void View::signals_changed()
        const vector< shared_ptr<Trace> > traces(get_traces());
        BOOST_FOREACH(shared_ptr<Trace> t, traces) {
                t->set_view(this);
-               t->init_context_bar_actions(NULL);
                t->set_v_offset(offset);
                offset += SignalHeight + 2 * SignalMargin;
        }