Bug 3123: [Gedcom] An empty type on event may break import

svn: r12850
This commit is contained in:
Gerald Britton 2009-07-29 17:39:58 +00:00
parent 283f46d543
commit 26cd2a1ce8

View File

@ -286,7 +286,7 @@ class WarnHandler(RotateHandler):
def display(self, obj): def display(self, obj):
obj.hide() obj.hide()
self.glade = Glade() self.glade = Glade()
top = self.toplevel top = self.glade.toplevel
msg = self.glade.get_object('msg') msg = self.glade.get_object('msg')
buf = msg.get_buffer() buf = msg.get_buffer()
for i in self.get_formatted_log(): for i in self.get_formatted_log():