From: Daniel Elstner Date: Thu, 27 Feb 2014 22:56:28 +0000 (+0100) Subject: LogicSignal: Un-break trigger configuration. (bug #318) X-Git-Tag: pulseview-0.2.0~59 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ab4e1fcb5fc453c811d25038f872f3326f8f846e;p=pulseview.git LogicSignal: Un-break trigger configuration. (bug #318) --- diff --git a/pv/view/logicsignal.cpp b/pv/view/logicsignal.cpp index 89c375cc..cc974f52 100644 --- a/pv/view/logicsignal.cpp +++ b/pv/view/logicsignal.cpp @@ -248,7 +248,7 @@ void LogicSignal::populate_popup_form(QWidget *parent, QFormLayout *form) // Add the trigger actions assert(_dev_inst); - if (!(gvar = _dev_inst->list_config(NULL, SR_CONF_TRIGGER_TYPE))) + if ((gvar = _dev_inst->list_config(NULL, SR_CONF_TRIGGER_TYPE))) { const char *const trig_types = g_variant_get_string(gvar, NULL);