summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-11-23 10:45:04 +0100
committerRobin Gareus <robin@gareus.org>2017-11-23 10:45:04 +0100
commit43f329256ea9e9e3f398c5e809e237d7aa890d6a (patch)
tree990c54fb15cd338f1997c44b51bd18ff16f24ef8
parent12a510271306df4af7a7db241ed7cf07f35fdf06 (diff)
Consistent default argument for virtual fn.
-rw-r--r--gtk2_ardour/editor.h2
-rw-r--r--gtk2_ardour/public_editor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 2e28ecf9e8..1331eebfc0 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -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;
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h
index da024706cf..9fbdb106bc 100644
--- a/gtk2_ardour/public_editor.h
+++ b/gtk2_ardour/public_editor.h
@@ -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;