From: Joel Holdsworth Date: Mon, 3 Mar 2014 18:51:14 +0000 (+0000) Subject: Added an error message there are some unspecified required probes X-Git-Tag: pulseview-0.2.0~33 X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=fc921b20cc5fb90862e1e358cbb00b567d52e72d Added an error message there are some unspecified required probes --- 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);