summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-01-27 20:51:32 +0100
committerRobin Gareus <robin@gareus.org>2018-01-27 20:51:32 +0100
commit0423247dd7172167e72315ff03d132c05d858627 (patch)
tree7eee17d08d16dd1e3ddbacea424a44a7edb4bc6a /gtk2_ardour
parenta314ff42b0f9aa68561be428dd070d75c41d6074 (diff)
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.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/route_processor_selection.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/route_processor_selection.cc b/gtk2_ardour/route_processor_selection.cc
index ac334b4b87..1b9ab2a2dc 100644
--- a/gtk2_ardour/route_processor_selection.cc
+++ b/gtk2_ardour/route_processor_selection.cc
@@ -170,6 +170,7 @@ RouteProcessorSelection::set (AxisView* r)
if (!shp.session()) {
return;
}
+ PresentationInfo::ChangeSuspender cs;
shp.session()->selection().clear_stripables ();
add (r, true);
}