diff options
author | paulgproductengine <none@none> | 2012-02-23 20:07:44 +0200 |
---|---|---|
committer | paulgproductengine <none@none> | 2012-02-23 20:07:44 +0200 |
commit | d60ef2f3352404ce37d22ca346af47f8e4c93d79 (patch) | |
tree | 5690e6f09875d20c8305345a52466f0cdf3b802a | |
parent | af83268a7b45ed6f5ee785e1671b0212d20ef47a (diff) |
EXP-1909 FIXED (Pasted gesture displayed twice)
- Refreshing gesture list after an item was copied
-rw-r--r-- | indra/newview/llfloatergesture.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloatergesture.cpp b/indra/newview/llfloatergesture.cpp index d495f20a9a..9ed9d10c75 100644 --- a/indra/newview/llfloatergesture.cpp +++ b/indra/newview/llfloatergesture.cpp @@ -90,6 +90,12 @@ public: if(mFloater) { mFloater->addGesture(inv_item,NULL,mFloater->getChild<LLScrollListCtrl>("gesture_list")); + + // EXP-1909 (Pasted gesture displayed twice) + // The problem is that addGesture is called here for the second time for the same item (which is copied) + // First time addGesture is called from LLFloaterGestureObserver::changed(), which is a callback for inventory + // change. So we need to refresh the gesture list to avoid duplicates. + mFloater->refreshAll(); } } }; |