mirror of
https://github.com/wassname/sloth.git
synced 2026-07-03 15:28:02 +08:00
Fix bug when default_properties is None
This commit is contained in:
@@ -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