From fc921b20cc5fb90862e1e358cbb00b567d52e72d Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Mon, 3 Mar 2014 18:51:14 +0000 Subject: [PATCH] Added an error message there are some unspecified required probes --- pv/data/decoderstack.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.30.2