avoid crash caused by referencing non-existent route in mixer strip button name setting
git-svn-id: svn://localhost/ardour2/branches/3.0@13553 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
62c8963170
commit
c36b0e661d
@ -1914,7 +1914,11 @@ MixerStrip::set_button_names ()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
meter_point_button.set_text (meter_point_string (_route->meter_point()));
|
if (_route) {
|
||||||
|
meter_point_button.set_text (meter_point_string (_route->meter_point()));
|
||||||
|
} else {
|
||||||
|
meter_point_button.set_text ("");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginSelector*
|
PluginSelector*
|
||||||
|
Loading…
Reference in New Issue
Block a user