summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-07-06 20:01:12 -0700
committerRichard Linden <none@none>2011-07-06 20:01:12 -0700
commit77e99e0887b8b1f60ccfe1aeb1cf31c56517f81d (patch)
treed8270dc5795ac83616a2bbe2dd80fdcaa2757f9e /indra/newview/llinventorypanel.cpp
parentfabb46db1e3fdcdc36c23c697d0e4bdb800e7954 (diff)
EXP-983 WIP potential fix for crash when using Place Profile in viewer experience
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r--indra/newview/llinventorypanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index d11e7572fe..8f947b15b9 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -623,7 +623,7 @@ void LLInventoryPanel::rebuildViewsFor(const LLUUID& id)
{
// Destroy the old view for this ID so we can rebuild it.
LLFolderViewItem* old_view = mFolderRoot->getItemByID(id);
- if (old_view && old_view != mFolderRoot)
+ if (old_view)
{
old_view->destroyView();
}