when the mouse tool changes, smart mode should have no effect on clearing selections
authorBen Loftis <ben@harrisonconsoles.com>
Tue, 13 Jan 2015 19:33:42 +0000 (13:33 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Tue, 13 Jan 2015 19:33:57 +0000 (13:33 -0600)
gtk2_ardour/editor_mouse.cc

index b7818326185d5c240dbc2d1f244f30611b3c3acd..d0df73e3e82a41c2fc3603293bf6a25f73c5820c 100644 (file)
@@ -335,13 +335,7 @@ Editor::internal_editing() const
 void
 Editor::update_time_selection_display ()
 {
-       if (smart_mode_action->get_active()) {
-               /* not sure what to do here */
-               if (mouse_mode == MouseObject) {
-               } else {
-               }
-       } else {
-               switch (mouse_mode) {
+       switch (mouse_mode) {
                case MouseRange:
                        selection->clear_objects ();
                        selection->ClearMidiNoteSelection();  //signal
@@ -365,7 +359,6 @@ Editor::update_time_selection_display ()
                        selection->clear_time ();
                        selection->clear_tracks ();
                        break;
-               }
        }
 }