projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3477ecb
)
Update selection-clock when region properties change
author
Robin Gareus
<robin@gareus.org>
Sun, 12 Mar 2017 00:20:49 +0000
(
01:20
+0100)
committer
Robin Gareus
<robin@gareus.org>
Sun, 12 Mar 2017 00:20:49 +0000
(
01:20
+0100)
gtk2_ardour/time_info_box.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/time_info_box.cc
b/gtk2_ardour/time_info_box.cc
index fd573ad4b764141bca2ce9dbc547d0df06e29b85..b60d9c1594da58ca077ca9e68bec61fa1386aeed 100644
(file)
--- a/
gtk2_ardour/time_info_box.cc
+++ b/
gtk2_ardour/time_info_box.cc
@@
-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.
- * This is not straight foward because RegionSelection is done by
- * RegionView (not Region itself).
- */
-
- //selection_changed ();
+ if (selection.regions.contains (r)) {
+ selection_changed ();
+ }
}
bool
}
bool