Skip to content
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

Fire onFinishChange if onChange isn't set #103

Closed
wants to merge 1 commit into from

Conversation

queenvictoria
Copy link

This allows 'revert' to function in that case.

@queenvictoria
Copy link
Author

Actually I think this is the wrong thing to do (as it actually gets called onChange then). But I'm curious to know how to fix the situation.

Basically I have a number of GUI that only have onFinishChange. However if you press Revert that callback isn't called (onChange is, onFinished is not).

customlogic added a commit that referenced this pull request Aug 18, 2016
@customlogic
Copy link
Contributor

I've added code to fire the onFinishChange callback for all controls when revert() is called on the GUI. This should fix your issue

@queenvictoria
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants