Skip to content

Mark BOM rows by the last checkbox by default - #23

Open
maximmeshkov wants to merge 1 commit into
zharovdv:mainfrom
maximmeshkov:fix/mark-placed-by-default
Open

Mark BOM rows by the last checkbox by default#23
maximmeshkov wants to merge 1 commit into
zharovdv:mainfrom
maximmeshkov:fix/mark-placed-by-default

Conversation

@maximmeshkov

Copy link
Copy Markdown

"Mark when checked" defaulted to None, so ticking Placed made no visible difference: the row kept its color and the footprint was never drawn with the marked-highlight color on the board.

Default it to the last configured checkbox (Placed) when the setting has never been stored. The check is against null, not falsy, so an explicit None choice is stored as an empty string and preserved.

"Mark when checked" defaulted to None, so ticking Placed made no visible
difference: the row kept its color and the footprint was never drawn with
the marked-highlight color on the board.

Default it to the last configured checkbox (Placed) when the setting has
never been stored. The check is against null, not falsy, so an explicit
None choice is stored as an empty string and preserved.
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