Git Product home page Git Product logo

Comments (4)

tao-a-man avatar tao-a-man commented on May 28, 2024

hii @ogoffart have a nice day Sir, plss help me check this case if i set array property ListNodeEnabel by ui->set_ListNodeEnabel(nodelists) everythings oke but UI not re-render, then i set array property ListNodeEnabel as above I get issue :(((, I declare ListNodeEnabel like in-out property <[INode]> ListNodeEnabel;

from slint.

tronical avatar tronical commented on May 28, 2024

In your lambda, it looks like you're capturing nodelists by reference (&), which means that if by the time the lambda is invoked, you'll get a crash when nodelists is already out of scope and destroyed. Maybe you want to capture it by value, explicitly? ([nodelists, ui = slint::ComponentWeakHandle(ui)] { ... })

from slint.

tronical avatar tronical commented on May 28, 2024

I'm closing this as it's not evident that this is a bug. Happy to re-open if it turns out to be a Slint issue :)

from slint.

tao-a-man avatar tao-a-man commented on May 28, 2024

It worked Sir thank you for help, I really respect that ❤️

from slint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.