]> sigrok.org Git - pulseview.git/commit
Fix #928 by catching errors if config_list() fails
authorWolfram Sang <redacted>
Tue, 6 Mar 2018 13:48:54 +0000 (14:48 +0100)
committerSoeren Apel <redacted>
Tue, 6 Mar 2018 18:16:26 +0000 (19:16 +0100)
commit519a6ed82d88f63fe5353f84ec9ebb775d1e9e95
treeddf5bbc6a95abde893d3261930982be66b6267c3
parent7f894d958eb5221161f0c6f2abbb57d43bb6aae7
Fix #928 by catching errors if config_list() fails

MainBar::config_list() may fail so catch errors and don't segfault.
Discovered using an OLS with unknown firmware not supporting metadata.

Signed-off-by: Wolfram Sang <redacted>
pv/toolbars/mainbar.cpp