# # # patch "src/view/InventoryView.cpp" # from [d0abb8a37052df61d041c9620081e389b207cc30] # to [d3ece7990df1ebfc6f944b00204b0959d26c5888] # ============================================================ --- src/view/InventoryView.cpp d0abb8a37052df61d041c9620081e389b207cc30 +++ src/view/InventoryView.cpp d3ece7990df1ebfc6f944b00204b0959d26c5888 @@ -625,7 +625,7 @@ void InventoryView::itemClicked(const QM QModelIndex sourceIndex = static_cast(index.model())->mapToSource(index); - ModelItem * item = static_cast(index.internalPointer()); + ModelItem * item = static_cast(sourceIndex.internalPointer()); InventoryItem * invitem = dynamic_cast(item); PseudoItem * psitem = dynamic_cast(item);