a quick one :

Index: gui/src/SoundLibrary/SoundLibraryPanel.cpp
===================================================================
--- gui/src/SoundLibrary/SoundLibraryPanel.cpp  (revision 220)
+++ gui/src/SoundLibrary/SoundLibraryPanel.cpp  (working copy)
@@ -275,6 +275,7 @@
 void SoundLibraryPanel::on_DrumkitList_rightClicked( QPoint pos )
 {
        if (
+               m_pSoundLibraryTree->currentItem() == NULL ||
                ( m_pSoundLibraryTree->currentItem()->parent() == NULL ) ||
                ( m_pSoundLibraryTree->currentItem() == 
m_pUserDrumkitsItem ) ||
                ( m_pSoundLibraryTree->currentItem() == 
m_pSystemDrumkitsItem )

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