From: Ben Loftis Date: Wed, 14 Jan 2015 12:30:16 +0000 (-0600) Subject: toggling smart mode is just an option. X-Git-Tag: 4.0-rc1~658 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=e1f8112f81c655684ec18b881528df9208c00af0;p=ardour.git toggling smart mode is just an option. it should not force mouse-mode to Object it should not clear the current object selection --- diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index abb8cc56a8..de71c4a77f 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -214,10 +214,6 @@ Editor::mouse_mode_object_range_toggled() Glib::RefPtr tact = Glib::RefPtr::cast_dynamic (act); assert (tact); - if (tact->get_active()) { - m = MouseObject; //Smart mode turned to ON, force editing to Object mode - } - set_mouse_mode(m, true); //call this so the button styles can get updated } @@ -341,7 +337,6 @@ Editor::update_time_selection_display () selection->ClearMidiNoteSelection (); /* EMIT SIGNAL */ break; case MouseObject: - selection->clear_objects (); selection->clear_time (); selection->clear_tracks (); selection->ClearMidiNoteSelection (); /* EMIT SIGNAL */