]> sigrok.org Git - pulseview.git/commitdiff
MainBar: Fix #594 by changing calling order and flag usage
authorSoeren Apel <redacted>
Mon, 13 Jul 2015 19:00:10 +0000 (21:00 +0200)
committerUwe Hermann <redacted>
Wed, 15 Jul 2015 16:08:56 +0000 (18:08 +0200)
The reason that the sampling rate button disappears after a
sampling rate was selected is that there's a flaw in the
chain of events:

on_sample_rate_changed() which calls
commit_sample_rate() which sets updating_sample_rate_ and calls
on_config_changed() which calls
update_sample_rate_selector() which...
...clears the list and exits because updating_sample_rate_ is set.


No differences found