Add option to disable autoscroll of editor (#4721).

git-svn-id: svn://localhost/ardour2/branches/3.0@12744 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-06-17 12:38:59 +00:00
parent 0c714fe3de
commit 2e71cb2e26
3 changed files with 13 additions and 0 deletions

View file

@ -1150,6 +1150,14 @@ RCOptionEditor::RCOptionEditor ()
sigc::mem_fun (*_rc_config, &RCConfiguration::set_name_new_markers)
));
add_option (_("Editor"),
new BoolOption (
"autoscroll-editor",
_("Auto-scroll editor window when dragging near its edges"),
sigc::mem_fun (*_rc_config, &RCConfiguration::get_autoscroll_editor),
sigc::mem_fun (*_rc_config, &RCConfiguration::set_autoscroll_editor)
));
/* AUDIO */
add_option (_("Audio"), new OptionEditorHeading (_("Buffering")));