Skip to content

Fixed a small bug in new gear library/gear metadata presets, which resulted in the values for the first selected gear preset did not get displayed when opening manage->gear presets#412

Merged
marcinz606 merged 1 commit into
marcinz606:mainfrom
jboneng:bug/Gear_presets_first_load_display_bug
Jul 7, 2026

Conversation

@jboneng

@jboneng jboneng commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes gear preset camera/lens/film combos showing — None — when first opening Manage… → Gear Presets.

Switching categories triggered _populate_form() (which set the correct combo values) and then an extra _refresh_preset_combos() that cleared the combos without re-applying the preset’s IDs.

Test plan

  • Open Manage… → Gear Presets — first preset shows linked camera, lens, and film stock
  • Switch between presets — selections stay correct
  • Switch to Cameras/Lenses/Film Stocks and back — preset combos still populate correctly

…sulted in the values for the first selected gear preset did not get displayed when opening manage->gear presets
@marcinz606 marcinz606 merged commit 2180a84 into marcinz606:main Jul 7, 2026
1 check passed
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.

2 participants