Fix for Editor-mixer-strip: polarity buttons were not updating with route selection changes.
This commit is contained in:
parent
0ecf1e40ea
commit
d2032df2e5
|
@ -2015,6 +2015,8 @@ RouteUI::setup_invert_buttons ()
|
||||||
uint32_t const N = _route ? _route->phase_control()->size() : 0;
|
uint32_t const N = _route ? _route->phase_control()->size() : 0;
|
||||||
|
|
||||||
if (_n_polarity_invert == N) {
|
if (_n_polarity_invert == N) {
|
||||||
|
/* buttons are already setup for this strip, but we should still set the values */
|
||||||
|
update_polarity_display ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_n_polarity_invert = N;
|
_n_polarity_invert = N;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user