tree: don't set new mono child in invisible container to visible
This commit is contained in:
parent
2ab7b43f74
commit
3dfdc26592
1 changed files with 3 additions and 1 deletions
|
|
@ -758,7 +758,9 @@ impl ContainerNode {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
self.mono_child.set(Some(child.clone()));
|
self.mono_child.set(Some(child.clone()));
|
||||||
child.node.tl_set_visible(true);
|
if self.toplevel_data.visible.get() {
|
||||||
|
child.node.tl_set_visible(true);
|
||||||
|
}
|
||||||
child.node.tl_restack_popups();
|
child.node.tl_restack_popups();
|
||||||
// log::info!("activate_child2");
|
// log::info!("activate_child2");
|
||||||
self.schedule_layout();
|
self.schedule_layout();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue