summaryrefslogtreecommitdiff
path: root/indra/newview/lltooldraganddrop.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2015-03-18 10:33:22 -0700
committerMerov Linden <merov@lindenlab.com>2015-03-18 10:33:22 -0700
commit1dd5c338d2726cc6c0f717e64d52c051d19b9732 (patch)
tree9a755058a9564428c90fdddf15e7a555552253f9 /indra/newview/lltooldraganddrop.h
parentfca5dba9b0c9bc26e9f6ac412a308a83bd980bc5 (diff)
DD-292 : Decrement cargo count when dropping items one by one in the marketplace listings folder
Diffstat (limited to 'indra/newview/lltooldraganddrop.h')
-rwxr-xr-xindra/newview/lltooldraganddrop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lltooldraganddrop.h b/indra/newview/lltooldraganddrop.h
index de501ea32a..63be1ef09b 100755
--- a/indra/newview/lltooldraganddrop.h
+++ b/indra/newview/lltooldraganddrop.h
@@ -89,6 +89,7 @@ public:
void setCargoCount(U32 count) { mCargoCount = count; }
void resetCargoCount() { mCargoCount = 0; }
U32 getCargoCount() const { return (mCargoCount > 0) ? mCargoCount : mCargoIDs.size(); }
+ S32 getCargoIndex() const { return mCurItemIndex; }
static S32 getOperationId() { return sOperationId; }