* src/DbPrompter.py (open_native): Use empty GRDB when opening fails.

svn: r5922
This commit is contained in:
Alex Roitman 2006-02-12 04:08:24 +00:00
parent c01f2f714e
commit 64d8eb7417
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2006-02-11 Alex Roitman <shura@gramps-project.org>
* src/DbPrompter.py (open_native): Use empty GRDB when opening fails.
2006-02-10 Alex Roitman <shura@gramps-project.org>
* src/plugins/DetDescendantReport.py
(DetDescendantReport.write_endnotes): Disable writing reference

View File

@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2005 Donald N. Allingham
# Copyright (C) 2000-2006 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
@ -599,6 +599,8 @@ def open_native(parent,filename,filetype):
# Add the file to the recent items
RecentFiles.recent_files(filename,filetype)
parent.build_recent_menu()
else:
parent.db = GrampsBSDDB.GrampsBSDDB()
return success