Fix classified search

This commit is contained in:
Siana Gearz
2012-08-13 21:50:09 +02:00
parent 6b8c58e3b5
commit 507c5eb7ca
2 changed files with 3 additions and 3 deletions

View File

@@ -336,7 +336,7 @@ void LLPanelClassified::processProperties(void* data, EAvatarProcessorType type)
LLAvatarClassifiedInfo* c_info = static_cast<LLAvatarClassifiedInfo*>(data);
if(c_info && mClassifiedID == c_info->classified_id)
{
LLAvatarPropertiesProcessor::getInstance()->removeObserver(mCreatorID, this);
LLAvatarPropertiesProcessor::getInstance()->removeObserver(LLUUID::null, this);
// "Location text" is actually the original
// name that owner gave the parcel, and the location.
@@ -571,7 +571,7 @@ void LLPanelClassified::sendClassifiedInfoRequest()
{
if (mClassifiedID != mRequestedID)
{
LLAvatarPropertiesProcessor::getInstance()->addObserver(mCreatorID, this);
LLAvatarPropertiesProcessor::getInstance()->addObserver(LLUUID::null, this);
LLAvatarPropertiesProcessor::getInstance()->sendClassifiedInfoRequest(mClassifiedID);
mDataRequested = TRUE;

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel border="false" bottom="0" follows="bottom|left" height="490" left="330"
name="Classified" title="Classified" width="450">
<texture_picker bottom="-315" follows="left|top" height="300" left="20" name="snapshot_ctrl"
<texture_picker bottom="-325" follows="left|top" height="300" left="20" name="snapshot_ctrl"
width="400" />
<line_editor bottom_delta="-8" enabled="false" follows="left|top"
font="SansSerif" height="20" left="20" name="given_name_editor"