From 34df5911183ddb73e28bd8e22056cb51434640cc Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 3 Apr 2014 16:05:50 +0100 Subject: [PATCH] Fix drag & drop in citation editor --- src/gui/editors/objectentries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/objectentries.py b/src/gui/editors/objectentries.py index 8169bc395..cd98249d2 100644 --- a/src/gui/editors/objectentries.py +++ b/src/gui/editors/objectentries.py @@ -189,7 +189,7 @@ class ObjEntry(object): def drag_data_received(self, widget, context, x, y, selection, info, time): (drag_type, idval, obj, val) = pickle.loads(selection.data) - data = self.db.get_place_from_handle(obj) + data = self.get_from_handle(obj) self.obj_added(data) def obj_added(self, data):