Skip to content

Commit

Permalink
toggling smart mode is just an option.
Browse files Browse the repository at this point in the history
it should not force mouse-mode to Object
it should not clear the current object selection
  • Loading branch information
BenLoftis committed Jan 14, 2015
1 parent 59bb3fb commit e1f8112
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions gtk2_ardour/editor_mouse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit e1f8112

Please sign in to comment.