summaryrefslogtreecommitdiff
path: root/indra/newview/llfolderviewitem.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-02-15 13:46:49 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2010-02-15 13:46:49 +0200
commit8ba5e0155ff0cbc2355ac4daf468d291fae84afa (patch)
tree74c8e9a6f9ae76f3fd3414fde4d74f6a824aad0a /indra/newview/llfolderviewitem.cpp
parent75a060497c06d0143a0515f4d5665097da34a3e3 (diff)
parent9fee359d1baf6e0046655cb8e4afabb8774754b1 (diff)
Merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llfolderviewitem.cpp')
-rw-r--r--indra/newview/llfolderviewitem.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp
index 3946224c0c..76607e4874 100644
--- a/indra/newview/llfolderviewitem.cpp
+++ b/indra/newview/llfolderviewitem.cpp
@@ -1855,10 +1855,9 @@ EInventorySortGroup LLFolderViewFolder::getSortGroup() const
return SG_TRASH_FOLDER;
}
- // Folders that can't be moved are 'system' folders.
if( mListener )
{
- if( !(mListener->isItemMovable()) )
+ if(LLFolderType::lookupIsProtectedType(mListener->getPreferredType()))
{
return SG_SYSTEM_FOLDER;
}