mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +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
|
void
|
||||||
RouteUI::update_polarity_display ()
|
RouteUI::update_polarity_display ()
|
||||||
{
|
{
|
||||||
|
if (!_route) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t const N = _route->phase_control()->size();
|
uint32_t const N = _route->phase_control()->size();
|
||||||
if (N > _max_invert_buttons) {
|
if (N > _max_invert_buttons) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue