-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
objectActivated doesn't get called when object gets unselected #683
Comments
I expected it to send me a null reference, to inform me, that "nothing" has been activated. In general a notification when the activatedObject changes. Also when the activatedObject changes to none, that would be some kind of activation ;-). |
@yennor |
you mean as a new event? Because if that one already exists, I really can't find it. Yes that would also work :-). Maybe in the documentation for objectActivated mention the other event, so nobody would oversee it. |
@yennor |
cool, thanks :-) |
Describe the bug
ObjectActivated gets properly called when clicking on an object and it gets selected. But when clicking somewhere where no object is, it should also be called, just for example with null. Otherwise it is impossible for the application to know if there is really a selected object or not.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
ObjectActivated should always be called. Or otherwise there needs to be a callback when all objects are unselected.
The text was updated successfully, but these errors were encountered: