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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user