mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
parent
f117cb77cc
commit
67e9a59398
3 changed files with 16 additions and 9 deletions
|
@ -1612,8 +1612,7 @@ fn compile_expression(expr: &Expression, ctx: &EvaluationContext) -> TokenStream
|
|||
let index_e = compile_expression(index, ctx);
|
||||
quote!(match &#base_e { x => {
|
||||
let index = (#index_e) as usize;
|
||||
x.model_tracker().track_row_data_changes(index);
|
||||
x.row_data(index).unwrap_or_default()
|
||||
x.row_data_tracked(index).unwrap_or_default()
|
||||
}})
|
||||
}
|
||||
Expression::CodeBlock(sub) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue