summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelobject.cpp')
-rw-r--r--indra/newview/llpanelobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelobject.cpp b/indra/newview/llpanelobject.cpp
index aebed45081..f7f33cb66b 100644
--- a/indra/newview/llpanelobject.cpp
+++ b/indra/newview/llpanelobject.cpp
@@ -328,7 +328,7 @@ void LLPanelObject::getState( )
// *FIX: shouldn't we just keep the child?
if (objectp)
{
- LLViewerObject* parentp = objectp->getSubParent();
+ LLViewerObject* parentp = objectp->getRootEdit();
if (parentp)
{