From: Soeren Apel Date: Sat, 21 Dec 2019 21:45:47 +0000 (+0100) Subject: DecoderOutputView: Fix updating of the hex view X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ff9f0baf2ca82358f22f2d726729dfc5e38a549c;p=pulseview.git DecoderOutputView: Fix updating of the hex view --- diff --git a/pv/views/decoder_output/view.cpp b/pv/views/decoder_output/view.cpp index 775f6daf..c6d80d16 100644 --- a/pv/views/decoder_output/view.cpp +++ b/pv/views/decoder_output/view.cpp @@ -238,14 +238,14 @@ void View::update_data() if (!signal_) return; - if (!binary_data_exists_) - return; - const DecodeBinaryClass* bin_class = signal_->get_binary_data_class(current_segment_, decoder_, bin_class_id_); hex_view_->set_data(bin_class); + if (!binary_data_exists_) + return; + if (!save_button_->isEnabled()) save_button_->setEnabled(true); }