13
0

Update selection-clock when region properties change

This commit is contained in:
Robin Gareus 2017-03-12 01:20:49 +01:00
parent 3477ecb0aa
commit 6386ebafcd

View File

@ -159,7 +159,7 @@ TimeInfoBox::track_mouse_mode ()
} }
void 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()); Selection& selection (Editor::instance().get_selection());
@ -177,12 +177,9 @@ TimeInfoBox::region_property_change (boost::shared_ptr<ARDOUR::Region> /* r */,
return; return;
} }
/* TODO: check if RegionSelection includes the given region. if (selection.regions.contains (r)) {
* This is not straight foward because RegionSelection is done by selection_changed ();
* RegionView (not Region itself). }
*/
//selection_changed ();
} }
bool bool