summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_rulers.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-17 15:22:09 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-17 15:22:09 -0400
commitec102f94e1105a6c9f445a0cde6c2dd1b6ea4b8b (patch)
tree970d269534121d51960bc56a5d6092d88c6baf97 /gtk2_ardour/editor_rulers.cc
parent9727a2311100d87bba1ceac62e5a9e42e9420cd8 (diff)
various work waveview amplitude mgmt; fix playhead cursor drag from timebar click
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r--gtk2_ardour/editor_rulers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc
index 5993bb4432..477dd23f69 100644
--- a/gtk2_ardour/editor_rulers.cc
+++ b/gtk2_ardour/editor_rulers.cc
@@ -251,7 +251,7 @@ Editor::ruler_button_press (GdkEventButton* ev)
}
/* playhead cursor */
- _drags->set (new CursorDrag (this, &playhead_cursor->track_canvas_item (), false), reinterpret_cast<GdkEvent *> (ev));
+ _drags->set (new CursorDrag (this, *playhead_cursor, false), reinterpret_cast<GdkEvent *> (ev));
_dragging_playhead = true;
}