Mixer: Don't segfault when user right-clicks on channel number module.

Closes: #128
pull/147/head
Jonathan Moore Liles 2014-06-18 20:55:00 -07:00
parent 9d39699950
commit 686d830402
1 changed files with 3 additions and 0 deletions

View File

@ -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 )