summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_options.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r--gtk2_ardour/ardour_ui_options.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc
index 52f289b3f2..e5feeadeb0 100644
--- a/gtk2_ardour/ardour_ui_options.cc
+++ b/gtk2_ardour/ardour_ui_options.cc
@@ -422,6 +422,12 @@ ARDOUR_UI::parameter_changed (std::string p)
} else if (p == "waveform-cache-size") {
/* GUI option has units of megabytes; image cache uses units of bytes */
ArdourCanvas::WaveView::set_image_cache_size (ARDOUR_UI::config()->get_waveform_cache_size() * 1048576);
+ } else if (p == "auto-return-target-list") {
+ AutoReturnTarget art = Config->get_auto_return_target_list ();
+ auto_return_loop->set_active ((bool) (art & Loop));
+ auto_return_range_selection->set_active ((bool) (art & RangeSelectionStart));
+ auto_return_region_selection->set_active ((bool) (art & RegionSelectionStart));
+ auto_return_last_locate->set_active ((bool) (art & LastLocate));
}
}