Mixer/Plugin_Module: Don't die because user picks a category instead of a plugin.
This commit is contained in:
parent
355bf8dbe8
commit
5248b90880
|
@ -134,6 +134,9 @@ Plugin_Module::pick_plugin ( void )
|
|||
|
||||
Plugin_Module::Plugin_Info *pi = (Plugin_Module::Plugin_Info*)menu->menu()[ menu->value() ].user_data();
|
||||
|
||||
if ( ! pi )
|
||||
return NULL;
|
||||
|
||||
Plugin_Module *m = new Plugin_Module();
|
||||
|
||||
m->load( pi->id );
|
||||
|
|
Loading…
Reference in New Issue