This is aimed at bug #17. I'm not sure if it's the exact same bug, but I could 
make H2 crash by clicking around in the LADSPA effects selector, and the 
following patch seems to fix it :)


Index: gui/src/LadspaFXSelector.cpp
===================================================================
--- gui/src/LadspaFXSelector.cpp        (revision 220)
+++ gui/src/LadspaFXSelector.cpp        (working copy)
@@ -159,6 +159,8 @@
 #ifdef LADSPA_SUPPORT
        //INFOLOG( "[pluginSelected]" );

+       if ( m_pPluginsListBox->selectedItems().isEmpty() )
+               return;
        QString sSelected = 
m_pPluginsListBox->selectedItems().first()->text();
        m_sSelectedPluginName = sSelected;


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to