From 444843385189c7569969b4e78e02a1e9813326d2 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 --- ChangeLog | 3 +++ src/Sources.py | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d037580cf..515962b6a 100644 --- a/ChangeLog +++ b/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/src/Sources.py b/src/Sources.py index cf7bbc8f4..d4f2e20ea 100644 --- a/src/Sources.py +++ b/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