8577: Statistics Charts report crashes in Windows 4.1.3 AIO

Changed 0 to actual number of people in database.
This commit is contained in:
Doug Blank 2015-06-28 14:38:08 -04:00
parent 66c943f69d
commit a04c8dc497

View File

@ -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'),