Consistent default argument for virtual fn.
authorRobin Gareus <robin@gareus.org>
Thu, 23 Nov 2017 09:45:04 +0000 (10:45 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 23 Nov 2017 09:45:04 +0000 (10:45 +0100)
gtk2_ardour/editor.h
gtk2_ardour/public_editor.h

index 2e28ecf9e8f528fcd1243bab75b3fd21c6285d05..1331eebfc060067b9255332e8dc61352b9f93369 100644 (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;
index da024706cf5ed198339fcae3706b3c1ba80c0976..9fbdb106bc4410b67b86e6756765fd3f03ac9858 100644 (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;