Fix bug when default_properties is None

This commit is contained in:
Mika Fischer
2011-09-30 14:41:22 +02:00
parent 4467185ab5
commit f430bfeb4c
+1 -1
View File
@@ -14,7 +14,7 @@ class ItemInserter(QObject):
QObject.__init__(self)
self._labeltool = labeltool
self._scene = scene
self._default_properties = default_properties
self._default_properties = default_properties if default_properties is not None else {}
self._prefix = prefix
self._ann = {}
self._commit = commit