mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-22 05:07:07 +01:00
Update selection-clock when region properties change
This commit is contained in:
parent
3477ecb0aa
commit
6386ebafcd
1 changed files with 4 additions and 7 deletions
|
|
@ -159,7 +159,7 @@ TimeInfoBox::track_mouse_mode ()
|
|||
}
|
||||
|
||||
void
|
||||
TimeInfoBox::region_property_change (boost::shared_ptr<ARDOUR::Region> /* r */, const PBD::PropertyChange& what_changed)
|
||||
TimeInfoBox::region_property_change (boost::shared_ptr<ARDOUR::Region> r, const PBD::PropertyChange& what_changed)
|
||||
{
|
||||
Selection& selection (Editor::instance().get_selection());
|
||||
|
||||
|
|
@ -177,12 +177,9 @@ TimeInfoBox::region_property_change (boost::shared_ptr<ARDOUR::Region> /* r */,
|
|||
return;
|
||||
}
|
||||
|
||||
/* TODO: check if RegionSelection includes the given region.
|
||||
* This is not straight foward because RegionSelection is done by
|
||||
* RegionView (not Region itself).
|
||||
*/
|
||||
|
||||
//selection_changed ();
|
||||
if (selection.regions.contains (r)) {
|
||||
selection_changed ();
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue