diff options
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 042d03fa57..a837a5a429 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -121,6 +121,7 @@ #include "tempo_lines.h" #include "time_axis_view.h" #include "utils.h" +#include "verbose_cursor.h" #include "i18n.h" @@ -760,9 +761,14 @@ Editor::Editor () } constructed = true; - instant_save (); + + /* grab current parameter state */ + boost::function<void (string)> pc (boost::bind (&Editor::ui_parameter_changed, this, _1)); + ARDOUR_UI::config()->map_parameters (pc); setup_fade_images (); + + instant_save (); } Editor::~Editor() @@ -5506,5 +5512,9 @@ Editor::ui_parameter_changed (string parameter) _cursor_stack.pop(); } _cursors->set_cursor_set (ARDOUR_UI::config()->get_icon_set()); + } else if (parameter == "draggable-playhead") { + if (_verbose_cursor) { + playhead_cursor->set_sensitive (ARDOUR_UI::config()->get_draggable_playhead()); + } } } |