From 168ae08f7368280fba8438db5b5770b8f2e625e4 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 25 Feb 2005 16:26:26 +0000 Subject: [PATCH] * src/Sources.py (SourceEditor.update_display): Do not add source for the second time. svn: r4091 --- gramps2/ChangeLog | 3 +++ gramps2/src/Sources.py | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index d037580cf..515962b6a 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -3,6 +3,9 @@ (format_maker): Add_function; (NewSaveasDbPrompter.chooser): Support for explicit format selection. + * src/Sources.py (SourceEditor.update_display): Do not add source + for the second time. + 2005-02-24 Alex Roitman * src/MediaView.py (on_select_row): Add garbage collection call. diff --git a/gramps2/src/Sources.py b/gramps2/src/Sources.py index cf7bbc8f4..d4f2e20ea 100644 --- a/gramps2/src/Sources.py +++ b/gramps2/src/Sources.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 @@ -517,9 +517,7 @@ class SourceEditor: self.set_button() def update_display(self,source): - self.db.add_source(source) self.draw(source) -# self.update(0) def add_src_clicked(self,obj): import EditSource