Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit c25ea446 authored by Frédéric Larue's avatar Frédéric Larue
Browse files

UIParamChildren lists automatically updated when an item is renamed.

parent c9bbfc5e
......@@ -75,6 +75,16 @@ void GenericUIData::Rename( const QString& filename )
m_BaseName = m_FileName;
m_Suffix = QString();
}
// Update the children list in the display options of all the ancester of the renamed item.
GenericUIData *p = GetParent();
while( p )
{
if( p->GetDisplayOptions() )
p->GetDisplayOptions()->updateChildrenLists( p );
p = p->GetParent();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment