How to update UI when vector is trimmed/edited ? #1046
Unanswered
IrfanKhan66
asked this question in
Q&A
Replies: 1 comment
-
Hello @IrfanKhan66, It hangs because of memory safety. You can't modify the component tree while we are executing it. Maybe you can post a new task to avoid delay execution?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I update the UI that is populated based on vector. I have a std::vector and using for-loop I made Buttons from it and gave each button a lambda function to edit the vector based on the index of the button, the lambda function erases the vector from vec.begin() to vec.begin() + i. When I click on a button the program gets hanged, how do I update the ui ? can anyone write an example for this ? @ArthurSonzogni
Beta Was this translation helpful? Give feedback.
All reactions