Add filter progress to sort events tool
This commit is contained in:
parent
1e54054953
commit
2f2b619762
@ -102,6 +102,7 @@ class BatchTool(Tool):
|
||||
"""
|
||||
|
||||
def __init__(self, dbstate, user, options_class, name, parent=None):
|
||||
self._user = user
|
||||
if user.uistate:
|
||||
parent = user.uistate.window
|
||||
if not user.prompt(
|
||||
|
@ -107,7 +107,8 @@ class SortEvents(PluginWindows.ToolManagedWindowBatch):
|
||||
Sort the personal events associated with the selected people.
|
||||
"""
|
||||
people_handles = self.filter.apply(self.db,
|
||||
self.db.iter_person_handles())
|
||||
self.db.iter_person_handles(),
|
||||
user=self._user)
|
||||
self.progress.set_pass(_("Sorting personal events..."),
|
||||
self.db.get_number_of_people())
|
||||
family_handles = []
|
||||
|
Loading…
Reference in New Issue
Block a user