Reviewers: ,
Please review this at http://codereview.tryton.org/421001/ Affected files: M tryton/gui/window/view_form/view/graph_gtk/graph.py Index: tryton/gui/window/view_form/view/graph_gtk/graph.py =================================================================== --- a/tryton/gui/window/view_form/view/graph_gtk/graph.py +++ b/tryton/gui/window/view_form/view/graph_gtk/graph.py @@ -276,7 +276,7 @@ cr.restore() def drawLegend(self, cr, width, height): - if not self.attrs.get('legend', True): + if not int(self.attrs.get('legend', 1)): return padding = 4 -- [email protected] mailing list
