Bugfix to print fanchart

svn: r20343
This commit is contained in:
Benny Malengier 2012-09-06 20:06:38 +00:00
parent 672a96b94d
commit f36a7c9b66

View File

@ -217,7 +217,7 @@ class FanChartView(FanChartGrampsGUI, NavigationView):
"""
Print or save the view that is currently shown
"""
widthpx = 2*(self.fan.pixels_per_generation * self.fan.nrgen()
widthpx = 2*(self.fan.PIXELS_PER_GENERATION * self.fan.nrgen()
+ self.fan.center)
prt = CairoPrintSave(widthpx, self.fan.on_draw, self.uistate.window)
prt.run()