From: Soeren Apel Date: Mon, 13 Jul 2015 19:00:10 +0000 (+0200) Subject: MainBar: Fix #594 by changing calling order and flag usage X-Git-Tag: pulseview-0.3.0~179 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=0e0b6b3e3425f730c8ae0a36b5fb50c02ce0ba54;hp=0e0b6b3e3425f730c8ae0a36b5fb50c02ce0ba54;ds=sidebyside MainBar: Fix #594 by changing calling order and flag usage 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. ---