summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2020-04-04 10:54:33 -0500
committerBen Loftis <ben@harrisonconsoles.com>2020-04-04 10:54:33 -0500
commitd2032df2e534f8413e7ff12ff9badb096131a6b7 (patch)
tree5c3229a2112faf89de4fb1648bc58aaab561854c /gtk2_ardour/route_ui.cc
parent0ecf1e40ea9449b4f79b1f7bfb4d6b07b505ae50 (diff)
Fix for Editor-mixer-strip: polarity buttons were not updating with route selection changes.
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index 0d7110f87d..6b879755c6 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -2015,6 +2015,8 @@ RouteUI::setup_invert_buttons ()
uint32_t const N = _route ? _route->phase_control()->size() : 0;
if (_n_polarity_invert == N) {
+ /* buttons are already setup for this strip, but we should still set the values */
+ update_polarity_display ();
return;
}
_n_polarity_invert = N;