mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
C++: Make component_at() return a ComponentWeak
This commit is contained in:
parent
b9fddc4ae1
commit
e5aadd7c26
2 changed files with 3 additions and 3 deletions
|
@ -1395,7 +1395,7 @@ fn generate_sub_component(
|
|||
subtrees_components_cases.push(format!(
|
||||
"\n case {i}: {{
|
||||
{e_u}
|
||||
self->{id}.component_at(subtree_index, result);
|
||||
*result = self->{id}.component_at(subtree_index);
|
||||
return;
|
||||
}}",
|
||||
i = idx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue