Skip to content

Fix of ListView items dupe on settings reset #270

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

XakerTwo
Copy link

@XakerTwo XakerTwo commented Feb 26, 2025

When settings resets, items in all listviews(and probably any other container-like controls, used to change actual settings) are duped.

Here is a simple fix - listview reset. Note that this fix require henrypp/routine@3e8b35b2 (henrypp/routine#13)

This is a cumulative PR, includes #269

when selected color is black next attempt to change it would be rejected
zero is valid for CHOOSECOLOR because COLORREF is A,R,G,B, packed into Int32
additionally skip value updating if it's actually not changed
require 3e8b35b2c08fe9b46607122962451be055eb5fbc for routine
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.

1 participant