From 6ace774ee00117b774c48cdb73c6c10fcb4d8bc9 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Tue, 7 Jun 2011 14:30:34 +0200 Subject: [PATCH] Properly initialize auto_text_keys_ for all Items --- sloth/items/items.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sloth/items/items.py b/sloth/items/items.py index f0a11f0..90be6ea 100644 --- a/sloth/items/items.py +++ b/sloth/items/items.py @@ -36,6 +36,7 @@ class BaseItem(QAbstractGraphicsShapeItem): # initialize members self.text_ = "" self.text_bg_brush_ = None + self.auto_text_keys_ = [] def annotation(self): """