* src/Sources.py (SourceEditor.update_display): Do not add source

for the second time.


svn: r4091
This commit is contained in:
Alex Roitman 2005-02-25 16:26:26 +00:00
parent 3ef8e12f42
commit 168ae08f73
2 changed files with 4 additions and 3 deletions

View File

@ -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 <shura@alex.neuro.umn.edu>
* src/MediaView.py (on_select_row): Add garbage collection call.

View File

@ -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