Skip to content

Fix part count not updating on individual checkbox toggle#5

Open
dirlligafu wants to merge 2 commits into
6wheel:mainfrom
dirlligafu:fix-part-count-on-individual-toggle
Open

Fix part count not updating on individual checkbox toggle#5
dirlligafu wants to merge 2 commits into
6wheel:mainfrom
dirlligafu:fix-part-count-on-individual-toggle

Conversation

@dirlligafu

Copy link
Copy Markdown

Fixes the "X included" counter not updating when individual part checkboxes are toggled. The counter was only recalculated inside renderPartList(), called by Select All / Deselect All but not on individual changes.

Extracts the update into a dedicated updatePartCount() function called on every toggle.

Closes #4 .

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.

Part count not updated when toggling individual checkboxes

2 participants