From 11f65c4625feafc47480c337969d77d683c20441 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sun, 15 Apr 2012 20:43:37 +0000 Subject: [PATCH] Fix crash when copying family objects to the clipboard svn: r19339 --- src/ScratchPad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScratchPad.py b/src/ScratchPad.py index 546042e2c..ca3009cee 100644 --- a/src/ScratchPad.py +++ b/src/ScratchPad.py @@ -716,13 +716,13 @@ class ScratchFamilyLink(ScratchHandleWrapper): ICON = ICONS["family"] def __init__(self, dbstate, obj): - from Simple import SimpleAccess super(ScratchFamilyLink, self).__init__(dbstate, obj) self._type = _("Family") self._objclass = 'Family' self.refresh() def refresh(self): + from Simple import SimpleAccess if self._handle: family = self._db.get_family_from_handle(self._handle) if family: