fix default selection value

This commit is contained in:
yggverse 2024-12-07 01:03:08 +02:00
parent 7c137b150e
commit fcceb5af1c

View File

@ -127,7 +127,7 @@ impl List {
.find_with_equal_func(|item| { .find_with_equal_func(|item| {
item.dynamic_cast_ref::<Item>().unwrap().is_active() item.dynamic_cast_ref::<Item>().unwrap().is_active()
}) })
.unwrap(), .unwrap_or_default(),
) )
.factory(&factory) .factory(&factory)
.build(); .build();