projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4822a75
)
fix range mode problem with a recent commit - crash when dragging, due to drag_info...
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Feb 2007 19:47:36 +0000
(19:47 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Feb 2007 19:47:36 +0000
(19:47 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1529
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 93b64afb6efaacfaeb1ed7371b44a97d1adb5fac..23d1426ac3d874bb29960e7335cd087ba82e0e63 100644
(file)
--- a/
gtk2_ardour/editor_mouse.cc
+++ b/
gtk2_ardour/editor_mouse.cc
@@
-1526,7
+1526,7
@@
Editor::motion_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item
** as passing the move threshold, otherwise e.g. copying regions to
** the same temporal position on a different track doesn't work.
*/
- if (drag_info.item_type == RegionItem) {
+ if (drag_info.item_type == RegionItem
&& drag_info.data
) {
RegionView* rv = reinterpret_cast<RegionView *> (drag_info.data);
if (drag_info.last_trackview != &rv->get_time_axis_view()) {
drag_info.move_threshold_passed = true;