From a04c8dc497ff582d26cfea87ba6353e44016bf76 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 28 Jun 2015 14:38:08 -0400 Subject: [PATCH] 8577: Statistics Charts report crashes in Windows 4.1.3 AIO Changed 0 to actual number of people in database. --- gramps/plugins/drawreport/statisticschart.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/plugins/drawreport/statisticschart.py b/gramps/plugins/drawreport/statisticschart.py index 271821a9c..5c9f75e54 100644 --- a/gramps/plugins/drawreport/statisticschart.py +++ b/gramps/plugins/drawreport/statisticschart.py @@ -768,7 +768,8 @@ class StatisticsChart(Report): # extract requested items from the database and count them self._user.begin_progress(_('Statistics Charts'), - _('Collecting data...'), 0) + _('Collecting data...'), + database.get_number_of_people()) tables = _Extract.collect_data(self.database, self.filter, menu, gender, year_from, year_to, get_value('no_years'),