mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Editor-mixer-strip: fix intermittent crash if we try to set up gui before set_route() is called (amends d2032d)
This commit is contained in:
parent
d2032df2e5
commit
bb925ea151
1 changed files with 4 additions and 0 deletions
|
|
@ -2069,6 +2069,10 @@ RouteUI::setup_invert_buttons ()
|
|||
void
|
||||
RouteUI::update_polarity_display ()
|
||||
{
|
||||
if (!_route) {
|
||||
return;
|
||||
}
|
||||
|
||||
uint32_t const N = _route->phase_control()->size();
|
||||
if (N > _max_invert_buttons) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue