Add a hack to make classified panel in search actually change

We cannot know the creator when we send the request, so use null to trigger the workaround.
This commit is contained in:
Inusaito Sayori
2014-07-09 23:22:10 -04:00
parent deb7454cf7
commit ed8416ea10

View File

@@ -218,7 +218,7 @@ LLPanelClassifiedInfo::~LLPanelClassifiedInfo()
void LLPanelClassifiedInfo::reset()
{
if(mCreatorID.notNull())
if (mInFinder || mCreatorID.notNull())
{
LLAvatarPropertiesProcessor::getInstance()->removeObserver(mCreatorID, this);
}
@@ -491,6 +491,7 @@ void LLPanelClassifiedInfo::initNewClassified()
void LLPanelClassifiedInfo::setClassifiedID(const LLUUID& id)
{
mClassifiedID = id;
if (mInFinder) mCreatorID = LLUUID::null; // Singu Note: HACKS!
}
//static