Bug fix: circumvent using LLs notify system.

Can't use LLs LLFolderViewItem::rename from
LLInventoryPanel::modelChanged because it's nonrobust spaghetti code
and causes randomly sized loops.

Also cleaned up the number of unused nameOrDescriptionChanged functions
introduced in a previous commit.
This commit is contained in:
Aleric Inglewood
2013-07-20 18:28:52 +02:00
parent 7162214c01
commit 85ff52be30
10 changed files with 33 additions and 63 deletions

View File

@@ -615,12 +615,12 @@ void LLFolderViewItem::rename(const std::string& new_name)
}
}
void LLFolderViewItem::descriptionChanged(void) const
void LLFolderViewItem::nameOrDescriptionChanged(void) const
{
// We don't have a description, but the listener does!
// Inform the listeners. Our name was already updated (and we don't have a description).
if( mListener )
{
mListener->descriptionChanged();
mListener->nameOrDescriptionChanged();
}
}