* src/DataViews/_PedigreeView.py: Properly redraw if active person is set to None
svn: r6925
This commit is contained in:
parent
e6bcf69241
commit
113e14501b
@ -2,7 +2,8 @@
|
|||||||
* src/DisplayState.py (modify_statusbar): Only calc relationship
|
* src/DisplayState.py (modify_statusbar): Only calc relationship
|
||||||
of active person if active person is set
|
of active person if active person is set
|
||||||
* src/DataViews/_PedigreeView.py: Support for family editing;
|
* 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>
|
2006-06-19 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/Mime/_WinMime.py: Get application description from registry
|
* src/Mime/_WinMime.py: Get application description from registry
|
||||||
|
@ -596,14 +596,6 @@ class PedigreeView(PageView.PersonNavView):
|
|||||||
if person_handle:
|
if person_handle:
|
||||||
person = self.dbstate.db.get_person_from_handle( 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:
|
if self.tree_style == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user