* src/DataViews/_PedigreeView.py: Properly redraw if active person is set to None

svn: r6925
This commit is contained in:
Martin Hawlisch 2006-06-20 12:51:14 +00:00
parent e6bcf69241
commit 113e14501b
2 changed files with 3 additions and 10 deletions

View File

@ -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 <brian@gramps-project.org>
* src/Mime/_WinMime.py: Get application description from registry

View File

@ -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: