fix displaying of autotext in BaseItem

This commit is contained in:
Martin Baeuml
2011-06-21 13:14:00 +02:00
parent 90e95921ae
commit 8f6bd89de5
+1 -1
View File
@@ -87,7 +87,7 @@ class BaseItem(QAbstractGraphicsShapeItem):
text_lines.append(self.text_)
for key in self.auto_text_keys_:
text_lines.append("%s: %s" % \
(key, self.annotation().get(key, "")))
(key, self._model_item.get(key, "")))
return '\n'.join(text_lines)
def dataChanged(self):