Don't switch to internal when switching to draw.
authorDavid Robillard <d@drobilla.net>
Mon, 8 Dec 2014 04:59:07 +0000 (23:59 -0500)
committerDavid Robillard <d@drobilla.net>
Mon, 8 Dec 2014 04:59:07 +0000 (23:59 -0500)
gtk2_ardour/editor_mouse.cc

index 96b2f9c6e24741a4bf168c6d2ce51221b7534938..95cea7e44aa9fd10c67454faf2ce48f78c753ea7 100644 (file)
@@ -325,16 +325,6 @@ Editor::mouse_mode_toggled (MouseMode m)
                return;
        }
 
-       switch (m) {
-       case MouseDraw:
-               act = ActionManager::get_action (X_("MouseMode"), X_("toggle-internal-edit"));
-               tact = Glib::RefPtr<ToggleAction>::cast_dynamic(act);
-               tact->set_active (true);
-               break;
-       default:
-               break;
-       }
-       
        if (_session && mouse_mode == MouseAudition) {
                /* stop transport and reset default speed to avoid oddness with
                   auditioning */