X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fdecodermenu.cpp;h=2f828a203604ab039608419ac957add1c8ef3cf8;hp=ff687e4cb85a6d279d5a532b73c9ba35cebbb92d;hb=8bd26d8b9c831b509ee3241ea4dac6f50c023622;hpb=1f763c17a87c0be8c52ac9ba99e3391b91ab6bdc diff --git a/pv/widgets/decodermenu.cpp b/pv/widgets/decodermenu.cpp index ff687e4..2f828a2 100644 --- a/pv/widgets/decodermenu.cpp +++ b/pv/widgets/decodermenu.cpp @@ -36,7 +36,7 @@ DecoderMenu::DecoderMenu(QWidget *parent, bool first_level_decoder) : const srd_decoder *const d = (srd_decoder*)l->data; assert(d); - const bool have_probes = (d->probes || d->opt_probes) != 0; + const bool have_probes = (d->channels || d->opt_channels) != 0; if (first_level_decoder == have_probes) { QAction *const action = addAction(QString::fromUtf8(d->name));