--- qsampler/trunk/src/qsamplerInstrumentList.cpp 2007/01/08 22:04:33 1016 +++ qsampler/trunk/src/qsamplerInstrumentList.cpp 2007/06/13 21:54:07 1234 @@ -638,7 +638,7 @@ void qsamplerInstrumentList::activatedSlot ( QListViewItem *pListItem ) { // FIXME: Hope the list view item is the one selected. - if (pListItem->rtti() == Item) + if (pListItem && pListItem->rtti() == Item) editItemSlot(); }