Mixer/Plugin_Module: Don't die because user picks a category instead of a plugin.

This commit is contained in:
Jonathan Moore Liles 2010-01-16 19:28:05 -06:00
parent 355bf8dbe8
commit 5248b90880
1 changed files with 3 additions and 0 deletions

View File

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