From 05154339854c9915ec7754345f65da3d9079ce83 Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Thu, 19 Apr 2012 18:40:36 +0000 Subject: [PATCH] 0005687: Can't delete a note, which is a citation. svn: r19363 --- src/gui/editors/editnote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/editnote.py b/src/gui/editors/editnote.py index a22ce0e0e..e5ea3a03e 100644 --- a/src/gui/editors/editnote.py +++ b/src/gui/editors/editnote.py @@ -377,7 +377,7 @@ class DeleteNoteQuery(object): self.db.commit_source(source, trans) for handle in citation_list: - source = self.db.get_citation_from_handle(handle) + citation = self.db.get_citation_from_handle(handle) citation.remove_note(note_handle) self.db.commit_citation(citation, trans)