mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Fix for Editor-mixer-strip: polarity buttons were not updating with route selection changes.
This commit is contained in:
parent
0ecf1e40ea
commit
d2032df2e5
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue