diff --git a/src/plugins/drawreport/AncestorTree.py b/src/plugins/drawreport/AncestorTree.py index 93c1f37dd..bf7f192ba 100644 --- a/src/plugins/drawreport/AncestorTree.py +++ b/src/plugins/drawreport/AncestorTree.py @@ -743,9 +743,14 @@ class AncestorTree(Report): scale = self.canvas.scale_report(one_page, scale_report != 0, scale_report == 2) + + self._user.step_progress() + if scale != 1: self.scale_styles(scale) + self._user.end_progress() + def write_report(self): one_page = self.connect.get_val("resize_page") @@ -770,7 +775,6 @@ class AncestorTree(Report): if prnnum: page_num_box = PageNumberBox(self.doc, 'AC2-box') - self._user.step_progress() ##################### #ok, everyone is now ready to print on the canvas. Paginate? self.canvas.paginate(colsperpage, one_page) @@ -780,7 +784,6 @@ class AncestorTree(Report): #lets finally make some pages!!! ##################### pages = self.canvas.page_count(incblank) - self._user.end_progress() self._user.begin_progress( _('Ancestor Tree'), _('Printing the Tree...'), pages)