diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 0585b0f25..d17232919 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -9,6 +9,8 @@ get_family_from_gramps_id,get_place_from_gramps_id, get_source_from_gramps_id,get_object_from_gramps_id): Unserialize tuple and return a proper GRAMPS object. + * src/DbPrompter.py (NewNativeDbPrompter.chooser): + Initialize natvie database before attempting to load. 2005-01-07 Don Allingham * src/gramps.glade: removal of more OptionMenus in favor diff --git a/gramps2/src/DbPrompter.py b/gramps2/src/DbPrompter.py index b0cc1ef41..4cd057af8 100644 --- a/gramps2/src/DbPrompter.py +++ b/gramps2/src/DbPrompter.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2004 Donald N. Allingham +# Copyright (C) 2000-2005 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -357,6 +357,7 @@ class NewNativeDbPrompter: if os.path.splitext(filename)[1] != ".grdb": filename = filename + ".grdb" choose.destroy() + self.parent.db = GrampsBSDDB.GrampsBSDDB() self.parent.read_file(filename) # Add the file to the recent items RecentFiles.recent_files(filename,const.app_gramps)