Calling a function which binds events from another object

Very very simple bit of code here, and when called from within the object it works just fine, “AB” is printed.


However, when calling this same function from another object, in this case an editor utility widget, the bound event never gets called and only “A” is printed.

It doesn’t seem to me like there should be any issue at all with what I am attempting, but clearly something is wrong. What do I do?