diff --git a/src/plugins/drawreport/StatisticsChart.py b/src/plugins/drawreport/StatisticsChart.py index dec6c6027..61aa9c659 100644 --- a/src/plugins/drawreport/StatisticsChart.py +++ b/src/plugins/drawreport/StatisticsChart.py @@ -973,7 +973,7 @@ class StatisticsChartOptions(MenuReportOptions): opt = BooleanOption(_Extract.extractors[key][1], False) opt.set_help(_("Include charts with indicated data.")) - add_option(key, opt) + menu.add_option(category_name,key, opt) idx += 1 # Enable a couple of charts by default