* src/gramps_main.py: rebuild tree after importing

* src/plugins/ReadGedcom.py: destroy filechooser at proper time


svn: r3129
This commit is contained in:
Don Allingham
2004-05-05 03:54:02 +00:00
parent 3adb17e2b1
commit 50131988cc
4 changed files with 13 additions and 5 deletions

View File

@@ -1768,15 +1768,17 @@ def readData(database,active_person,cb):
choose.add_filter(filter)
response = choose.run()
choose.destroy()
if response == gtk.RESPONSE_OK:
filename = choose.get_filename()
choose.destroy()
try:
importData(db,filename)
except:
import DisplayTrace
DisplayTrace.DisplayTrace()
else:
choose.destroy()
#-------------------------------------------------------------------------
#
#