summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Polunin <apolunin@productengine.com>2009-11-03 17:26:57 +0200
committerAndrew Polunin <apolunin@productengine.com>2009-11-03 17:26:57 +0200
commitefa9c7a5ba1fa1facaa15d22418e9d4199c3f773 (patch)
tree879b6d5b3256b9b012b2df0d3124d0774f0b3a70
parent5599547f4f28d95ff6d15a517d0ba0df1fb8d6ff (diff)
fixed bug EXT-1480 [BSI] Cannot give invenotry offers by dragging an item to profile on the sidebar
--HG-- branch : product-engine
-rw-r--r--indra/newview/llpanelprofileview.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llpanelprofileview.h b/indra/newview/llpanelprofileview.h
index b59d1d42f3..45c2fc116e 100644
--- a/indra/newview/llpanelprofileview.h
+++ b/indra/newview/llpanelprofileview.h
@@ -36,6 +36,8 @@
#include "llpanel.h"
#include "llpanelprofile.h"
#include "llavatarpropertiesprocessor.h"
+#include "llagent.h"
+#include "lltooldraganddrop.h"
class LLPanelProfile;
class LLPanelProfileTab;
@@ -64,6 +66,18 @@ public:
/*virtual*/ void togglePanel(LLPanel* panel);
+ BOOL handleDragAndDrop(S32 x, S32 y, MASK mask,
+ BOOL drop, EDragAndDropType cargo_type,
+ void *cargo_data, EAcceptance *accept,
+ std::string& tooltip_msg)
+ {
+ LLToolDragAndDrop::handleGiveDragAndDrop(getAvatarId(), gAgent.getSessionID(), drop,
+ cargo_type, cargo_data, accept);
+
+ return TRUE;
+ }
+
+
protected:
void onBackBtnClick();