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:
parent
66c943f69d
commit
a04c8dc497
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user