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 svn: r8410
This commit is contained in:
parent
e97f968c25
commit
835079dae2
@ -1,3 +1,7 @@
|
|||||||
|
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
|
||||||
|
|
||||||
2007-04-19 Brian Matherly <brian@gramps-project.org>
|
2007-04-19 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/docgen/ODFDoc.py: PROPERLY escape ampersands
|
* src/docgen/ODFDoc.py: PROPERLY escape ampersands
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ class BaseModel(gtk.GenericTreeModel):
|
|||||||
self.node_map.clear_map()
|
self.node_map.clear_map()
|
||||||
|
|
||||||
def add_row_by_handle(self,handle):
|
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)
|
data = self.map(handle)
|
||||||
key = locale.strxfrm(self.sort_func(data))
|
key = locale.strxfrm(self.sort_func(data))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user