X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.cpp;h=f642b11eaf92db972f4c0c01745db0b42ace3b87;hp=8284c7937c7a7ee6a68f334a587bee7374e97fcb;hb=fc921b20cc5fb90862e1e358cbb00b567d52e72d;hpb=c1b2865ea8b10c4b41360b2fd1974a8bebaa0dea;ds=sidebyside diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index 8284c793..f642b11e 100644 --- a/pv/data/decoderstack.cpp +++ b/pv/data/decoderstack.cpp @@ -322,8 +322,11 @@ void DecoderStack::decode_proc() // Check that all decoders have the required probes BOOST_FOREACH(const shared_ptr &dec, _stack) - if (!dec->have_required_probes()) + if (!dec->have_required_probes()) { + _error_message = tr("One or more required probes " + "have not been specified"); return; + } // Create the session srd_session_new(&session);