Merge branch '40-dragging-from-player-trade-to-inventory-takes-two-tries' into 'main/gingo-test'

Resolve "Dragging from player trade to inventory takes two tries"

See merge request ryzom/ryzom-core!39
merge-requests/41/head
Nuno Gonçalves (Ulukyn) 3 years ago
commit c6ec8a8d7d

@ -747,6 +747,10 @@ public:
CInterfaceElement *pElt = CWidgetManager::getInstance()->getElementFromId(src);
CDBCtrlSheet *pCSSrc = dynamic_cast<CDBCtrlSheet*>(pElt);
CDBCtrlSheet *pCSDst = dynamic_cast<CDBCtrlSheet*>(pCaller);
// end drag
getInventory().endDrag();
if ((pCSSrc == NULL) || (pCSDst == NULL)) return;
if (pCSSrc->getType() == CCtrlSheetInfo::SheetType_Item)

Loading…
Cancel
Save