Replies: 1 comment
-
Got it. The struct l_card used as carrier for the signals was the problem. Please consider the issues closed. |
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
-
Hi,
I'm trying to use a create_effect closure to copy an element out of a vector - the index is set by a button (actually a link, but behaviour is the same. it works pretty much like envisaged, the closure is called anytime the counter (l_struct.hand_browse) in in- or decremented.
I can log the vector and the counter, but when trying to clone the vector element defined by the pointer nothing happens, I assume there is an internal error. Here the code (the mut for the vector and the multiple clones are to be on the safe side, added when trying to find the root cause for the error) :
Once the // for the last line is removed --> nothing goes
Any hints and suggestions are very welcome, I'm really lost.
Thx
Beta Was this translation helpful? Give feedback.
All reactions