diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-05-10 16:05:24 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-05-10 16:05:24 +0000 |
commit | 37a34bb8b0568ad28fa6c3697a2eab296b0af7ae (patch) | |
tree | 058b31ed4887c00f97e34a75645c737542f8b082 /gtk2_ardour/midi_region_view.h | |
parent | 05b99bf8da5f5b2103bdd27049f691f1638e9dc9 (diff) |
use a static per-class signal to notify the selection object in each MidiRegionView when note items are deleted. fixes crash on cut/undo/reselect and related operations
git-svn-id: svn://localhost/ardour2/branches/3.0@7092 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index d6dd213e72..ea05953080 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -403,6 +403,9 @@ class MidiRegionView : public RegionView MidiListEditor* _list_editor; bool no_sound_notes; + + PBD::ScopedConnection note_delete_connection; + void maybe_remove_deleted_note_from_selection (ArdourCanvas::CanvasNoteEvent*); }; |