Serg-Norseman / GEDKeeper

GEDKeeper - program for work with personal genealogical database
https://gedkeeper.net/
GNU General Public License v3.0
149 stars 44 forks source link

Event type value selection is inconsistent #539

Closed fullben closed 4 months ago

fullben commented 4 months ago

First selection of an 'Event' type dropdown value is ignored and instead the first entry from the dropdown value list is used.

Environment

Steps to Reproduce

  1. Select any person/individual record and open it in its dedicated popup window.
  2. Use the 'Add Record' option on the 'Events' tab of the window to spawn the window for creating a new event for the individual.
  3. Open the dropdown list 'Event' and select any item that is not the first item in the list of available options.

image

Desired Behavior

Once the selection is made, it should appear as value for the 'Event' field.

Actual Behavior

Once a selection is made, the first item in the dropdown value list appears as the value of the 'Event' field. E.g., if the first item on the dropdown list is 'Birth', and I select 'Death', 'Birth' will appear as value.

Without closing the window, opening the dropdown again and making a selection will cause the selection to actually be reflected in the 'Event' field.