Skip to content

Conversation

@gonX
Copy link
Member

@gonX gonX commented Aug 30, 2025

This should make settings and UI a bit more consistent in case a tablet has its button count reduced.

Otherwise, a user having 3 bindings on a 1 binding tablet would still show 3 bindings in the UI, even if the binding is cleared.

It also helps with development in case the developer adds more fields than needed.

The settings aren't auto-saved after displaying the error, so the user has the option to manually back up before saving.

This should make settings and UI a bit more consistent in case a tablet has its button count reduced.

Otherwise, a user having 3 bindings on a 1 binding tablet would still show 3 bindings in the UI
@gonX gonX added the enhancement New feature or request label Aug 30, 2025
@gonX gonX changed the title PluginSettingStoreCollection: Check upper bounds [06x] PluginSettingStoreCollection: Check upper bounds Aug 30, 2025
@gonX gonX added this to the v0.6.5.2 milestone Aug 30, 2025
Copy link
Member

@Kuuuube Kuuuube left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Works.

@Kuuuube Kuuuube merged commit a8a9f8b into OpenTabletDriver:0.6.x Sep 1, 2025
9 checks passed
@gonX gonX deleted the 06x-bounds-check-setexpectedcount branch September 1, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants