From 740c22832c21d2d33841d5e6bba15e6bedfbff52 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 24 Feb 2005 04:46:45 +0000 Subject: [PATCH] update svn: r4087 --- gramps2/src/gramps_main.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index 5756fcdd6..434d84503 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -1426,6 +1426,7 @@ class Gramps: def on_import_activate(self,obj): prompter = DbPrompter.ImportDbPrompter(self,self.topWindow) prompter.chooser() + self.update_display() def on_saveas_activate(self,obj): prompter = DbPrompter.NewSaveasDbPrompter(self,self.topWindow) @@ -1545,7 +1546,8 @@ class Gramps: def load_person(self,person): if person: try: - EditPerson.EditPerson(self, person, self.db, self.update_after_edit) + EditPerson.EditPerson(self, person, self.db, + self.update_after_edit) except: DisplayTrace.DisplayTrace() @@ -1717,10 +1719,12 @@ class Gramps: def on_preferences_activate(self,obj): GrampsCfg.display_preferences_box(self.db) - def menu_report(self,obj,task,report_class,options_class,translated_name,name,category): + def menu_report(self,obj,task,report_class,options_class, + translated_name,name,category): """Call the report plugin selected from the menus""" if self.active_person: - task(self.db,self.active_person,report_class,options_class,translated_name,name,category) + task(self.db,self.active_person,report_class, + options_class,translated_name,name,category) def menu_tools(self,obj,task): """Call the tool plugin selected from the menus"""