slint
slint copied to clipboard
Property in two-way binding cannot be set in C++ in special cases
C++/Slint 1.7.2/windows
I am developing a C++ application with Slint. And two-way binding has strange behavior in some cases. The properties seems cannot be set in C++, but if I renaming some part, it works again. I put two cases found in my test.
case 1.zip case 2.zip (also tested on Linux)
In both cases, click first button will not set the value of two-way binding property. In case 2, it will work if rename test global to tester or some other names. Maybe it is a issue about naming.