diff --git a/ChangeLog b/ChangeLog index 0d8b98b17..4d29be1b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,8 @@ * src/DisplayState.py (modify_statusbar): Only calc relationship of active person if active person is set * src/DataViews/_PedigreeView.py: Support for family editing; - Change line style for child relation "birth" + Change line style for child relation "birth"; Properly redraw if + active person is set to None 2006-06-19 Brian Matherly * src/Mime/_WinMime.py: Get application description from registry diff --git a/src/DataViews/_PedigreeView.py b/src/DataViews/_PedigreeView.py index 50ed77a03..7e1bde626 100644 --- a/src/DataViews/_PedigreeView.py +++ b/src/DataViews/_PedigreeView.py @@ -596,15 +596,7 @@ class PedigreeView(PageView.PersonNavView): if person_handle: person = self.dbstate.db.get_person_from_handle( person_handle) - # Eliminate unnecessary redraws. If the window is active, clear the - # dirty flag, and redraw. If we are not begin displayed, set the dirty - # flag and do nothing. - - if not self.dbstate.active or not self.dirty: - self.dirty = True - return - else: - self.dirty = False + self.dirty = False if self.tree_style == 1: # format of the definition is: