Skip to content

Conversation

@rbares
Copy link
Contributor

@rbares rbares commented Oct 5, 2019

Fixes #7.

Previously button mappings (ApplicationInput) were cleared by setting them to null, however when saving configuration this could easily result in an attempt to write null to the registry which would raise an exception. This diff clears ApplicationInput by clearing the inner _input list, enabling CECSettings to correctly write an empty string instead. This is correctly interpreted when read from the registry and avoids the crash.

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.

"Save configuration" crashes if a default button mapping has been cleared

1 participant