X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fview.cpp;h=0b5eef74e27a21b2164d980ee8a18f19644bb02d;hp=972b379d9dad1682318da2be20aa021999c2f109;hb=e91fb166608133382baa1a90cc022bfa47d649de;hpb=28ceff251c776bcf99eafae691e70a521af15957 diff --git a/pv/views/trace/view.cpp b/pv/views/trace/view.cpp index 972b379d..0b5eef74 100644 --- a/pv/views/trace/view.cpp +++ b/pv/views/trace/view.cpp @@ -1316,7 +1316,7 @@ void View::capture_state_updated(int state) // Activate "always zoom to fit" if the setting is enabled and we're // the main view of this session (other trace views may be used for // zooming and we don't want to mess them up) - bool state = settings.value(GlobalSettings::Key_View_AlwaysZoomToFit).toBool(); + bool state = settings.value(GlobalSettings::Key_View_ZoomToFitDuringAcq).toBool(); if (is_main_view_ && state) { always_zoom_to_fit_ = true; always_zoom_to_fit_changed(always_zoom_to_fit_);