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
This commit is contained in:
Carl Hetherington 2010-09-18 20:55:51 +00:00
parent 74d72b83a7
commit 9054c71fb8
2 changed files with 5 additions and 1 deletions

View file

@ -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 ();

View file

@ -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