mirror of
https://github.com/wassname/sloth.git
synced 2026-10-01 12:30:35 +08:00
Fix bug when default_properties is None
This commit is contained in:
1 parent
4467185ab5
commit
f430bfeb4c
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user