projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3ea096
)
"Fix" what seems to be an inevitable assertion failure...
author
David Robillard
<d@drobilla.net>
Fri, 23 Oct 2009 20:17:20 +0000
(20:17 +0000)
committer
David Robillard
<d@drobilla.net>
Fri, 23 Oct 2009 20:17:20 +0000
(20:17 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5895
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_mouse.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_mouse.cc
b/gtk2_ardour/editor_mouse.cc
index bb414471847e63473f61828ef21ebaa245a8c9fd..a93cfdfb036657684ac5083ff2740173aadd0cd6 100644
(file)
--- a/
gtk2_ardour/editor_mouse.cc
+++ b/
gtk2_ardour/editor_mouse.cc
@@
-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: