2006-12-20 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_BaseModel.py (BaseModel.__init__): choose correct sort column svn: r7829
This commit is contained in:
parent
e310b304c5
commit
373821f214
@ -1,3 +1,7 @@
|
||||
2006-12-20 Don Allingham <don@gramps-project.org>
|
||||
* src/DisplayModels/_BaseModel.py (BaseModel.__init__): choose
|
||||
correct sort column
|
||||
|
||||
2006-12-19 Alex Roitman <shura@gramps-project.org>
|
||||
* src/PluginUtils/_Plugins.py: Emit signal on rebuild, rebuild
|
||||
open plugin dialogs on rebuild.
|
||||
|
@ -60,7 +60,8 @@ class BaseModel(gtk.GenericTreeModel):
|
||||
self.set_property("leak_references",False)
|
||||
self.db = db
|
||||
if sort_map:
|
||||
col = sort_map[scol][1]
|
||||
self.sort_map = [ f for f in sort_map if f[0]]
|
||||
col = self.sort_map[scol][1]
|
||||
self.sort_func = self.smap[col]
|
||||
else:
|
||||
self.sort_func = self.smap[scol]
|
||||
|
Loading…
Reference in New Issue
Block a user