13
0

toggling smart mode is just an option.

it should not force mouse-mode to Object
it should not clear the current object selection
This commit is contained in:
Ben Loftis 2015-01-14 06:30:16 -06:00
parent 59bb3fbe65
commit e1f8112f81

View File

@ -214,10 +214,6 @@ Editor::mouse_mode_object_range_toggled()
Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::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 */