Disable follow-playhead during drags. Fixes #3647.

git-svn-id: svn://localhost/ardour2/branches/3.0@8444 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-05 02:28:28 +00:00
parent d13cb3bd40
commit 85acf35337
5 changed files with 17 additions and 4 deletions

View file

@ -238,8 +238,9 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible {
/** Set whether the editor should follow the playhead.
* @param yn true to follow playhead, otherwise false.
* @param catch_up true to reset the editor view to show the playhead (if yn == true), otherwise false.
*/
virtual void set_follow_playhead (bool yn) = 0;
virtual void set_follow_playhead (bool yn, bool catch_up = false) = 0;
/** Toggle whether the editor is following the playhead */
virtual void toggle_follow_playhead () = 0;