Fix for Editor-mixer-strip: polarity buttons were not updating with route selection changes.

This commit is contained in:
Ben Loftis 2020-04-04 10:54:33 -05:00
parent 0ecf1e40ea
commit d2032df2e5
1 changed files with 2 additions and 0 deletions

View File

@ -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;