Daniel Viegas 0a9ecca878 Fix bug where unchecking all event types in a category re-checks them
When all event types in a category were unchecked, _update_group_checkbox_state
would set the category checkbox to False, which triggered its toggle handler.
This handler would then set all child checkboxes to match the category state,
causing them to be re-checked.

The fix adds an optional updating_flag parameter to _update_group_checkbox_state
that prevents the group toggle handler from firing during programmatic updates.
The flag is set before updating the checkbox state and cleared after, breaking
the recursion cycle.

Changes:
- Modified _update_group_checkbox_state to accept optional updating_flag parameter
- Updated _make_child_toggle_handler to pass updating_flag
- Store category updating flags in _filter_widgets for reuse
- Updated _update_event_type_widgets to use stored updating flags
- Fixed family checkbox initialization to use updating flag as well
2025-11-30 14:37:55 +01:00
Description
MyTimeline Gramps plugin
822 KiB
Languages
Python 94.2%
Shell 5.8%