2007-04-20 Don Allingham <don@gramps-project.org>

* src/DisplayModels/_BaseModel.py (BaseModel.add_row_by_handle): 
	if search not defined, do an insert
	* src/GrampsDb/_ReadGedcom.py: fix calendar parsing
	* src/GrampsDb/_WriteGedcom.py: fix calendar generation



svn: r8413
This commit is contained in:
Don Allingham
2007-04-21 04:54:28 +00:00
parent 1c2514d9b2
commit dc2afe8f55
6 changed files with 493 additions and 284 deletions

View File

@@ -254,7 +254,7 @@ class BaseModel(gtk.GenericTreeModel):
self.node_map.clear_map()
def add_row_by_handle(self,handle):
if self.search and self.search.match(handle):
if not self.search or (self.search and self.search.match(handle)):
data = self.map(handle)
key = locale.strxfrm(self.sort_func(data))