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>
|
2006-12-19 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/PluginUtils/_Plugins.py: Emit signal on rebuild, rebuild
|
* src/PluginUtils/_Plugins.py: Emit signal on rebuild, rebuild
|
||||||
open plugin dialogs on rebuild.
|
open plugin dialogs on rebuild.
|
||||||
|
@ -60,7 +60,8 @@ class BaseModel(gtk.GenericTreeModel):
|
|||||||
self.set_property("leak_references",False)
|
self.set_property("leak_references",False)
|
||||||
self.db = db
|
self.db = db
|
||||||
if sort_map:
|
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]
|
self.sort_func = self.smap[col]
|
||||||
else:
|
else:
|
||||||
self.sort_func = self.smap[scol]
|
self.sort_func = self.smap[scol]
|
||||||
|
Loading…
Reference in New Issue
Block a user