diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-24 19:33:13 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-24 19:33:13 +0000 |
commit | e355b5df2726894eb81d1a45ff052022ecd09572 (patch) | |
tree | fe562df9e96eec66793bebba757c6489be8c6c3a /gtk2_ardour/session_option_editor.cc | |
parent | bfd3746be241d8c3fab8d152129d66128fc47d7c (diff) |
Add option to glue new regions to bars and beats (#4202).
git-svn-id: svn://localhost/ardour2/branches/3.0@10821 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/session_option_editor.cc')
-rw-r--r-- | gtk2_ardour/session_option_editor.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/session_option_editor.cc b/gtk2_ardour/session_option_editor.cc index ce461436b8..98ca09bb69 100644 --- a/gtk2_ardour/session_option_editor.cc +++ b/gtk2_ardour/session_option_editor.cc @@ -326,6 +326,13 @@ SessionOptionEditor::SessionOptionEditor (Session* s) sigc::mem_fun (*_session_config, &SessionConfiguration::get_glue_new_markers_to_bars_and_beats), sigc::mem_fun (*_session_config, &SessionConfiguration::set_glue_new_markers_to_bars_and_beats) )); + + add_option (_("Misc"), new BoolOption ( + "glue-new-regions-to-bars-and-beats", + _("Glue new regions to bars and beats"), + sigc::mem_fun (*_session_config, &SessionConfiguration::get_glue_new_regions_to_bars_and_beats), + sigc::mem_fun (*_session_config, &SessionConfiguration::set_glue_new_regions_to_bars_and_beats) + )); } void |