tree: add Node::node_make_visible
This commit is contained in:
parent
289c201a69
commit
4bfa9fb7fc
15 changed files with 147 additions and 34 deletions
|
|
@ -866,6 +866,15 @@ impl ToplevelData {
|
|||
self.property_changed(TL_CHANGED_CONTENT_TY);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn make_visible(&self, slf: &dyn Node) {
|
||||
if self.visible.get() {
|
||||
return;
|
||||
}
|
||||
if let Some(parent) = self.parent.get() {
|
||||
parent.cnode_make_visible(slf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for ToplevelData {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue