debug
svn: r7519
This commit is contained in:
parent
ea5f58d1b6
commit
8489424b13
@ -653,6 +653,8 @@ class PersonView(PageView.PersonNavView):
|
|||||||
def person_added(self,handle_list):
|
def person_added(self,handle_list):
|
||||||
if not self.model:
|
if not self.model:
|
||||||
return
|
return
|
||||||
|
if self.active:
|
||||||
|
self.dirty = False
|
||||||
for node in handle_list:
|
for node in handle_list:
|
||||||
person = self.dbstate.db.get_person_from_handle(node)
|
person = self.dbstate.db.get_person_from_handle(node)
|
||||||
pn = person.get_primary_name()
|
pn = person.get_primary_name()
|
||||||
@ -667,10 +669,10 @@ class PersonView(PageView.PersonNavView):
|
|||||||
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)
|
||||||
tnode = self.model.get_iter((path[0],))
|
pnode = self.model.on_get_iter(path)
|
||||||
pnode = self.model.get_iter(path)
|
|
||||||
print top, path, tnode, pnode
|
|
||||||
self.model.row_inserted(path, pnode)
|
self.model.row_inserted(path, pnode)
|
||||||
|
else:
|
||||||
|
self.dirty = True
|
||||||
|
|
||||||
def person_removed(self,handle_list):
|
def person_removed(self,handle_list):
|
||||||
if not self.model:
|
if not self.model:
|
||||||
|
Loading…
Reference in New Issue
Block a user