File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ impl i_slint_core::model::Model for PyModelShared {
155155}
156156
157157impl PyModelShared {
158- pub fn rust_into_js_model < ' py > (
158+ pub fn rust_into_py_model < ' py > (
159159 model : & ModelRc < slint_interpreter:: Value > ,
160160 py : Python < ' py > ,
161161 ) -> Option < Bound < ' py , PyAny > > {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ impl<'py> IntoPyObject<'py> for PyValue {
2626 crate :: image:: PyImage :: from ( image) . into_bound_py_any ( py)
2727 }
2828 slint_interpreter:: Value :: Model ( model) => {
29- crate :: models:: PyModelShared :: rust_into_js_model ( model, py) . map_or_else (
29+ crate :: models:: PyModelShared :: rust_into_py_model ( model, py) . map_or_else (
3030 || crate :: models:: ReadOnlyRustModel :: from ( model) . into_bound_py_any ( py) ,
3131 |m| Ok ( m) ,
3232 )
You can’t perform that action at this time.
0 commit comments