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
Description
MyTimeline Gramps plugin
Languages
Python
94.2%
Shell
5.8%