mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Emit a single change when changing track selection in the mixer.
Previously changing track-selection emitted 2 "stripable_selection_changed" events: select (nil); select (new). This fixes an issue with the FaderPort ctrl surface when editing plugins: Switching from one track to another follows selection, but if no track is selected, the FP switches from "Edit Plugins" to "Track" mode.
This commit is contained in:
parent
a314ff42b0
commit
0423247dd7
1 changed files with 1 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ RouteProcessorSelection::set (AxisView* r)
|
||||||
if (!shp.session()) {
|
if (!shp.session()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
PresentationInfo::ChangeSuspender cs;
|
||||||
shp.session()->selection().clear_stripables ();
|
shp.session()->selection().clear_stripables ();
|
||||||
add (r, true);
|
add (r, true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue