From: Ramon Felder Date: Mon, 5 Sep 2022 16:23:03 +0000 (+0200) Subject: AnalogSignal: Fix storing of autoranging setting X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d57022600761c8ed12efc9c5fe9a7692fddf7317;p=pulseview.git AnalogSignal: Fix storing of autoranging setting --- diff --git a/pv/views/trace/analogsignal.cpp b/pv/views/trace/analogsignal.cpp index ba5adebf..8c0dacd2 100644 --- a/pv/views/trace/analogsignal.cpp +++ b/pv/views/trace/analogsignal.cpp @@ -139,7 +139,7 @@ std::map AnalogSignal::save_settings() const result["neg_vdivs"] = neg_vdivs_; result["scale_index"] = scale_index_; result["display_type"] = display_type_; - result["autoranging"] = pos_vdivs_; + result["autoranging"] = autoranging_; result["div_height"] = div_height_; return result;