mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Revert "Deduplicate use of ptr_eq for Models"
This was not intended to get uploaded without review!
This reverts commit d678f4b1da
.
This commit is contained in:
parent
ee3d51ce54
commit
6d69c343dc
6 changed files with 18 additions and 54 deletions
|
@ -188,7 +188,7 @@ fn to_eval_value<'cx>(
|
|||
obj.get(cx, "rowCount")?.downcast_or_throw::<JsFunction, _>(cx)?;
|
||||
obj.get(cx, "rowData")?.downcast_or_throw::<JsFunction, _>(cx)?;
|
||||
let m = js_model::JsModel::new(obj, *a, cx, persistent_context)?;
|
||||
Ok(Value::Model(sixtyfps_corelib::model::SharedModel(m)))
|
||||
Ok(Value::Model(m))
|
||||
}
|
||||
},
|
||||
Type::Image => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue