diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-09 13:28:45 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-09 13:28:45 +0000 |
commit | 79ba9960964c8ea701abfe00dbef128ca7da9fbd (patch) | |
tree | 3f303f7a8e7c0ab265d392fe8d2bb3b6f1339b9d /gtk2_ardour/marker.cc | |
parent | 96fa1cd0b636d47d4b0787281fc9401693a77af9 (diff) |
catch markers as they go away, to avoid selection corruption; add select-range-between-cursors (F3); add unimplemented select-all-within-cursors (different from select-all-between-cursors); make ctrl-x/delete delete a marker if the mouse is pointing at it
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2611 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/marker.cc')
-rw-r--r-- | gtk2_ardour/marker.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc index e5dd23668a..505e577c42 100644 --- a/gtk2_ardour/marker.cc +++ b/gtk2_ardour/marker.cc @@ -273,6 +273,8 @@ Marker::Marker (PublicEditor& ed, ArdourCanvas::Group& parent, guint32 rgba, con Marker::~Marker () { + drop_references (); + /* destroying the parent group destroys its contents, namely any polygons etc. that we added */ delete text; delete mark; |