Mixer: Fix segfault on attempt to make osc ports for module ports which shouldn't be controllable.
This commit is contained in:
parent
eff5189638
commit
7900ef6add
|
@ -234,7 +234,10 @@ Module::handle_control_changed ( Port *p )
|
|||
bool
|
||||
Module::Port::connected_osc ( void ) const
|
||||
{
|
||||
if ( _scaled_signal )
|
||||
return _scaled_signal->connected();
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
char *
|
||||
|
|
Loading…
Reference in New Issue