From be5e9ee4dd5adc020dfd8bfeaa5cb379cf6fc4cf 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 --- src/Report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Report.py b/src/Report.py index 807e4c7c6..68916c1fb 100644 --- a/src/Report.py +++ b/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)