Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frédéric Larue
CommonGUI
Commits
c25ea446
Commit
c25ea446
authored
Jan 28, 2019
by
Frédéric Larue
Browse files
UIParamChildren lists automatically updated when an item is renamed.
parent
c9bbfc5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
UIData/UIData.cpp
View file @
c25ea446
...
...
@@ -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
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment