From 5d2ecc1770ce3c60c2ceaab542cb19e64320c0bc Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 8 Jan 2002 02:29:50 +0000 Subject: [PATCH] Fixed uninitialized self.target_fileentry svn: r687 --- gramps/src/Report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/src/Report.py b/gramps/src/Report.py index 807e4c7c6..68916c1fb 100644 --- a/gramps/src/Report.py +++ b/gramps/src/Report.py @@ -386,6 +386,8 @@ class ReportDialog: # Save Frame frame = GtkFrame(_("Save As")) frame.set_border_width(ReportDialog.frame_pad) + self.target_fileentry = GnomeFileEntry(hid,_("Save As")) + hbox = GtkHBox() hbox.set_border_width(ReportDialog.border_pad) if (self.get_target_is_directory()): @@ -400,7 +402,6 @@ class ReportDialog: if hid[-4:]==".xml": hid = hid[0:-4] - self.target_fileentry = GnomeFileEntry(hid,_("Save As")) hbox.add(self.target_fileentry) frame.add(hbox) self.window.vbox.add(frame)