summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2011-07-29 17:02:19 -0700
committerLeyla Farazha <leyla@lindenlab.com>2011-07-29 17:02:19 -0700
commitadf39dd1473039a8ab9624fa67f3a927fe22b8fe (patch)
treeaa733c2097619e5058cb522a351de5475487ab7f
parented02d0c1fccbfd25ed54f6be5b051736834d2e27 (diff)
fixing outbox handledraganddrop
-rw-r--r--indra/newview/llpanelmarketplaceoutbox.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llpanelmarketplaceoutbox.cpp b/indra/newview/llpanelmarketplaceoutbox.cpp
index 9e1b28f168..c96fb22862 100644
--- a/indra/newview/llpanelmarketplaceoutbox.cpp
+++ b/indra/newview/llpanelmarketplaceoutbox.cpp
@@ -147,11 +147,11 @@ BOOL LLPanelMarketplaceOutbox::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL d
if (!handled && mInventoryPanel->getRootFolder())
{
handled = mInventoryPanel->getRootFolder()->handleDragAndDropFromChild(mask,drop,cargo_type,cargo_data,accept,tooltip_msg);
- }
- if (handled && mInventoryPanel->getRootFolder())
- {
- mInventoryPanel->getRootFolder()->setDragAndDropThisFrame();
+ if (handled)
+ {
+ mInventoryPanel->getRootFolder()->setDragAndDropThisFrame();
+ }
}
return handled;