slint/tests/cases/models
Olivier Goffart ac8fd60091 Fix regression with empty array
Regression noticed in this line:
3f97d98bff/ui/tabs/downloads.slint (L77)

The following used to work:

```slint
import { Button, VerticalBox } from "std-widgets.slint";
export component Demo {
    in property <[int]> mods;
    VerticalBox {
        alignment: start;
        for xxx in true ? mods : [] : HorizontalLayout { alignment: center; Button { text: "OK!"; } }
    }
}
```

But we fixed array conversion and this caused a regression with empty
array
2023-11-01 11:30:59 +01:00
..
array.slint Fix regression with empty array 2023-11-01 11:30:59 +01:00
assign_equal_model.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
delete_from_clicked.slint Fix compilation of the generated code with deny(rust_2018_idioms) 2023-09-22 10:21:00 +02:00
for.slint napi test driver setup (#3635) 2023-10-11 12:48:27 +02:00
if.slint napi test driver setup (#3635) 2023-10-11 12:48:27 +02:00
if_cond_property.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
if_lookup.slint napi test driver setup (#3635) 2023-10-11 12:48:27 +02:00
listview_model_change.slint napi test driver setup (#3635) 2023-10-11 12:48:27 +02:00
model.slint Revert "Reduce the amount of re-creation of cells in repeaters when the model changes (#1954)" 2023-10-23 16:52:03 +02:00
model_in_struct.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
negative_intmodel.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
scrolled_model.slint napi test driver setup (#3635) 2023-10-11 12:48:27 +02:00
write_to_model.slint napi test driver setup (#3635) 2023-10-11 12:48:27 +02:00
write_to_model_listview.slint Models: fix writing data doesn't update ListView model data property 2023-10-31 13:41:31 +01:00
write_to_model_sub_component.slint napi test driver setup (#3635) 2023-10-11 12:48:27 +02:00