diff options
Diffstat (limited to 'gtk2_ardour/audio_region_editor.cc')
-rw-r--r-- | gtk2_ardour/audio_region_editor.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_region_editor.cc b/gtk2_ardour/audio_region_editor.cc index 6fa06be460..1b5f51eb83 100644 --- a/gtk2_ardour/audio_region_editor.cc +++ b/gtk2_ardour/audio_region_editor.cc @@ -153,7 +153,7 @@ AudioRegionEditor::AudioRegionEditor (Session& s, boost::shared_ptr<AudioRegion> show_all(); name_changed (); - bounds_changed (Change (StartChanged|LengthChanged|PositionChanged|StartChanged|Region::SyncOffsetChanged)); + bounds_changed (Change (StartChanged|LengthChanged|PositionChanged|Region::SyncOffsetChanged)); gain_changed (); _region->StateChanged.connect (mem_fun(*this, &AudioRegionEditor::region_changed)); @@ -408,3 +408,10 @@ AudioRegionEditor::sync_offset_relative_clock_changed () _session.commit_reversible_command (); } + +bool +AudioRegionEditor::on_delete_event (GdkEventAny* ev) +{ + bounds_changed (Change (StartChanged|LengthChanged|PositionChanged|Region::SyncOffsetChanged)); + return RegionEditor::on_delete_event (ev); +} |