diff options
author | Carl Hetherington <carl@carlh.net> | 2010-09-18 20:55:51 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-09-18 20:55:51 +0000 |
commit | 9054c71fb86d10cb3af22f24ec5083d4f795d82d (patch) | |
tree | 42105f22ff31349c9ef3991d19394e782ad80e46 | |
parent | 74d72b83a79f33a459d15e9f07164874c1e4d75f (diff) |
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
-rw-r--r-- | gtk2_ardour/editor_regions.cc | 4 | ||||
-rw-r--r-- | libs/ardour/audioregion.cc | 2 |
2 files changed, 5 insertions, 1 deletions
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<Region> 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 |