* src/DataViews/_PersonView.py: fix typo

svn: r7529
This commit is contained in:
Don Allingham 2006-10-31 20:16:08 +00:00
parent 4efb75e286
commit c66bb89f04
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-10-31 Don Allingham <don@gramps-project.org> 2006-10-31 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: fix typo
* src/GrampsCfg.py: Fix check box message for adding a family * src/GrampsCfg.py: Fix check box message for adding a family
* src/Reorder.py: Allow for reordering of relationships, enhance * src/Reorder.py: Allow for reordering of relationships, enhance
buttons buttons

View File

@ -663,13 +663,14 @@ class PersonView(PageView.PersonNavView):
self.model.rebuild_data() self.model.rebuild_data()
if not self.model.is_visable(node): if not self.model.is_visable(node):
continue continue
if (not self.model.sname_sub.has_key(top) or if (not self.model.sname_sub.has_key(top) or
len(self.model.sname_sub[top]) == 1): len(self.model.sname_sub[top]) == 1):
path = self.model.on_get_path(top) path = self.model.on_get_path(top)
pnode = self.model.get_iter(path) pnode = self.model.get_iter(path)
self.model.row_inserted(path,pnode) self.model.row_inserted(path,pnode)
path = self.model.on_get_path(node) path = self.model.on_get_path(node)
pnode = self.model.on_get_iter(path) pnode = self.model.get_iter(path)
self.model.row_inserted(path, pnode) self.model.row_inserted(path, pnode)
else: else:
self.dirty = True self.dirty = True