Consistent default argument for virtual fn.

This commit is contained in:
Robin Gareus 2017-11-23 10:45:04 +01:00
parent 12a5102713
commit 43f329256e
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ public:
XMLNode& get_state ();
int set_state (const XMLNode&, int version);
void set_mouse_mode (Editing::MouseMode, bool force=true);
void set_mouse_mode (Editing::MouseMode, bool force = false);
void step_mouse_mode (bool next);
Editing::MouseMode current_mouse_mode () const { return mouse_mode; }
Editing::MidiEditMode current_midi_edit_mode () const;

View File

@ -299,7 +299,7 @@ public:
* @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, bool catch_up = false) = 0;
virtual void set_follow_playhead (bool yn, bool catch_up = true) = 0;
/** Toggle whether the editor is following the playhead */
virtual void toggle_follow_playhead () = 0;