mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 12:54:45 +00:00
Add a test for embedded conditionals
Also fix the initialization of properties in C++, make them zero-initialized like in rust
This commit is contained in:
parent
d7fe69ff74
commit
e8c825b434
3 changed files with 28 additions and 13 deletions
|
@ -43,6 +43,6 @@ struct Property
|
|||
|
||||
private:
|
||||
internal::PropertyHandleOpaque inner;
|
||||
mutable T value;
|
||||
mutable T value{};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue