Mixer: Don't segfault when user right-clicks on channel number module.
Closes: #128
This commit is contained in:
parent
9d39699950
commit
686d830402
|
@ -248,6 +248,9 @@ Module::paste_before ( void )
|
|||
const char *
|
||||
Module::Port::osc_number_path ( void )
|
||||
{
|
||||
if ( ! _scaled_signal )
|
||||
return NULL;
|
||||
|
||||
int n = _module->chain()->strip()->number();
|
||||
|
||||
if ( _by_number_path && n == _by_number_number )
|
||||
|
|
Loading…
Reference in New Issue