diff --git a/src/mvNodes.cpp b/src/mvNodes.cpp index 1f0054855..ef0a38229 100644 --- a/src/mvNodes.cpp +++ b/src/mvNodes.cpp @@ -690,7 +690,7 @@ void mvNodeLink::handleSpecificRequiredArgs(PyObject* dict) void mvNodeLink::customAction(void* data) { if (handlerRegistry) - handlerRegistry->checkEvents(data); + handlerRegistry->checkEvents(&state); } void mvNodeLink::draw(ImDrawList* drawlist, float x, float y)