NHMDenmark / Mass-Digitizer

Common repo for the DaSSCo team
Apache License 2.0
1 stars 0 forks source link

Damage checkbox value persisting to next record #396

Closed PipBrewer closed 11 months ago

PipBrewer commented 11 months ago

Issue

Damaged specimen checkbox mark should not persist to next record (at the moment it is persisting) "Damaged" in this context signifies some deterioration in the specimen condition. Details on this topic state pending discussion.

Description

Checkboxes in the PysimpleGUI framework cannot generate 'events' but are only read as state. If programmatically set to unchecked, the value will always be read as 'True'.

FedorSteeman commented 11 months ago

Fixed with commit https://github.com/NHMDenmark/Mass-Digitizer/commit/b9b7f83189249b4049c0289a282d64f3a342de17 by adding the check box to the nonStickyFields list.