mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Show properties of most recently selected strip
This commit is contained in:
parent
c2df0bd236
commit
a83f28231f
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ SelectionPropertiesBox::selection_changed ()
|
||||||
|
|
||||||
bool show_route_properties = false;
|
bool show_route_properties = false;
|
||||||
if (!selection.tracks.empty ()) {
|
if (!selection.tracks.empty ()) {
|
||||||
TimeAxisView *tav = selection.tracks.front ();
|
TimeAxisView *tav = selection.tracks.back (); //the LAST selected stripable is the clicked one. see selection.cc line ~92
|
||||||
RouteTimeAxisView *rtav = dynamic_cast<RouteTimeAxisView *>(tav);
|
RouteTimeAxisView *rtav = dynamic_cast<RouteTimeAxisView *>(tav);
|
||||||
if (rtav) {
|
if (rtav) {
|
||||||
_route_prop_box->set_route (rtav->route());
|
_route_prop_box->set_route (rtav->route());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue