summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderview.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-07-24 20:29:20 -0700
committerRichard Linden <none@none>2012-07-24 20:29:20 -0700
commit891a09561d4dff23836c8618d481a6cd2dd001de (patch)
tree05990baa16b210bf31dd23d2c55d14c20672cc42 /indra/llui/llfolderview.cpp
parent1736c7b74e5291b1fee91ae72ff52391ae7d946f (diff)
CHUI-206 FIX Viewer crash when selecting to cut inventory item, then selecting to cut another inventory item
Seems to work now, without filtering de-optimization
Diffstat (limited to 'indra/llui/llfolderview.cpp')
-rw-r--r--indra/llui/llfolderview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp
index 8ade17b763..943e690948 100644
--- a/indra/llui/llfolderview.cpp
+++ b/indra/llui/llfolderview.cpp
@@ -1123,7 +1123,7 @@ void LLFolderView::paste()
LLFolderViewFolder* folder = dynamic_cast<LLFolderViewFolder*>(item);
if (folder == NULL)
{
- item = item->getParentFolder();
+ folder = item->getParentFolder();
}
folder_set.insert(folder);
}