summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mouse.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2015-01-14 06:30:16 -0600
committerBen Loftis <ben@harrisonconsoles.com>2015-01-14 06:30:16 -0600
commite1f8112f81c655684ec18b881528df9208c00af0 (patch)
tree865f0510149adbe31dd18cbe8d97e9ea3f05f93c /gtk2_ardour/editor_mouse.cc
parent59bb3fbe65d5afa1a57745bb1ea50d7ef97f5605 (diff)
toggling smart mode is just an option.
it should not force mouse-mode to Object it should not clear the current object selection
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r--gtk2_ardour/editor_mouse.cc5
1 files changed, 0 insertions, 5 deletions
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<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 */