Put the database access at beginning; fixes bug in mailing list from Rob H.
svn: r11702
This commit is contained in:
parent
142108337c
commit
384f574fea
@ -490,6 +490,7 @@ class FanChartGramplet(Gramplet):
|
|||||||
The Gramplet code that realizes the FanChartWidget.
|
The Gramplet code that realizes the FanChartWidget.
|
||||||
"""
|
"""
|
||||||
def init(self):
|
def init(self):
|
||||||
|
self.sa = SimpleAccess(self.dbstate.db)
|
||||||
self.set_tooltip("Click to expand/contract person\nRight-click to make person active")
|
self.set_tooltip("Click to expand/contract person\nRight-click to make person active")
|
||||||
self.generations = 6
|
self.generations = 6
|
||||||
self.gui.fan = FanChartWidget(self.generations,
|
self.gui.fan = FanChartWidget(self.generations,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user