mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
Fixed typo in python readme
This commit is contained in:
parent
b967ca4182
commit
2355234553
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ subclasses of `slint.Model`.
|
|||
Use the `slint.ListModel` class to construct a model from an iterable.
|
||||
|
||||
```js
|
||||
component.model = slint.ListMode([1, 2, 3]);
|
||||
component.model = slint.ListModel([1, 2, 3]);
|
||||
component.model.append(4)
|
||||
del component.model[0]
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue