From 9054c71fb86d10cb3af22f24ec5083d4f795d82d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 18 Sep 2010 20:55:51 +0000 Subject: [PATCH] Update regions list when editing a region fade. Fixes #3458. git-svn-id: svn://localhost/ardour2/branches/3.0@7801 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_regions.cc | 4 +++- libs/ardour/audioregion.cc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_regions.cc b/gtk2_ardour/editor_regions.cc index f55cf4d1fd..9fc2a70663 100644 --- a/gtk2_ardour/editor_regions.cc +++ b/gtk2_ardour/editor_regions.cc @@ -338,7 +338,9 @@ EditorRegions::region_changed (boost::shared_ptr r, const PropertyChange what_changed.contains (ARDOUR::Properties::locked) || what_changed.contains (ARDOUR::Properties::position_lock_style) || what_changed.contains (ARDOUR::Properties::muted) || - what_changed.contains (ARDOUR::Properties::opaque)) { + what_changed.contains (ARDOUR::Properties::opaque) || + what_changed.contains (ARDOUR::Properties::fade_in) || + what_changed.contains (ARDOUR::Properties::fade_out)) { /* find the region in our model and update its row */ TreeModel::Children rows = _model->children (); diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index 4947f2ec3b..214d31165b 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -784,6 +784,7 @@ AudioRegion::set_fade_in (FadeShape shape, framecnt_t len) } _fade_in->thaw (); + send_change (PropertyChange (Properties::fade_in)); } void @@ -849,6 +850,7 @@ AudioRegion::set_fade_out (FadeShape shape, framecnt_t len) } _fade_out->thaw (); + send_change (PropertyChange (Properties::fade_in)); } void