diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index e2d99681d..fe5911644 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-02-16 Don Allingham + * src/DisplayModels.py: don't override on_row_deleted + 2005-02-16 Alex Roitman * src/EditSource.py (DelSrcQuery.query_response): Typos. * src/ImageSelect.py (DeleteMediaQuery.query_response): Typo. diff --git a/gramps2/src/DisplayModels.py b/gramps2/src/DisplayModels.py index 9ef4d4724..efa76c3a0 100644 --- a/gramps2/src/DisplayModels.py +++ b/gramps2/src/DisplayModels.py @@ -88,8 +88,7 @@ class BaseModel(gtk.GenericTreeModel): def delete_row_by_handle(self,handle): index = self.indexlist[handle] - del self.datalist[index] - del self.indexlist[handle] + self.rebuild_data() self.row_deleted(index) def update_row_by_handle(self,handle):