]> sigrok.org Git - pulseview.git/commitdiff
LogicSignal: Un-break trigger configuration. (bug #318)
authorDaniel Elstner <redacted>
Thu, 27 Feb 2014 22:56:28 +0000 (23:56 +0100)
committerJoel Holdsworth <redacted>
Sat, 1 Mar 2014 11:02:10 +0000 (11:02 +0000)
pv/view/logicsignal.cpp

index 89c375cc0551cb7689e7b63a4693b70c8d962f3b..cc974f5210050729493a368b6e726d06ba86923f 100644 (file)
@@ -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);