mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
"Fix" what seems to be an inevitable assertion failure...
git-svn-id: svn://localhost/ardour2/branches/3.0@5895 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c3ea096f04
commit
9aee34c9c2
1 changed files with 3 additions and 2 deletions
|
|
@ -504,6 +504,8 @@ Editor::button_press_handler_1 (ArdourCanvas::Item* item, GdkEvent* event, ItemT
|
|||
{
|
||||
if (_drag) {
|
||||
_drag->item()->ungrab (event->button.time);
|
||||
delete _drag;
|
||||
_drag = 0;
|
||||
}
|
||||
|
||||
/* single mouse clicks on any of these item types operate
|
||||
|
|
@ -1242,7 +1244,6 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
|
|||
atv->add_automation_event (item, event, where, event->button.y);
|
||||
}
|
||||
return true;
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
@ -1293,7 +1294,7 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
|
|||
} else {
|
||||
/* make sure we stop */
|
||||
session->request_transport_speed (0.0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue