Update detailpanel.cpp

Adding setCurrentGenericItem