diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-02-12 02:51:51 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-02-12 02:51:51 +0000 |
commit | a1955a82e81816161f5b7dbf460a694e902237b0 (patch) | |
tree | 3c576a733aed52ff02a8fdc9786838bdea7758d2 /gtk2_ardour/editor_mouse.cc | |
parent | 7999372faccab884b4e652da83702d7ec252e14b (diff) |
AU GUIs basically working, though unfinished; push up dialog for massive split operations (still in progress); fix problem where peakfile is slightly older than audio data even though it is ready to use (debugging output still present); move sync-menu code to libs/gtkmm2ext for linkage reasons; prevent flush_pending() calls from "top menu" items on OS X from locking the GUI; try to make adding lots of regions (e.g. from split-at-points) scale a bit better; SAE version has no timecode mode for audio clocks
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3038 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r-- | gtk2_ardour/editor_mouse.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index c915d0c8da..df30834dff 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -1028,11 +1028,10 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT case MouseObject: switch (item_type) { case AutomationTrackItem: - dynamic_cast<AutomationTimeAxisView*>(clicked_trackview)->add_automation_event - (item, - event, - where, - event->button.y); + AutomationTimeAxisView* atv = dynamic_cast<AutomationTimeAxisView*>(clicked_trackview); + if (atv) { + atv->add_automation_event (item, event, where, event->button.y); + } return true; break; |