- minor changes to increase compatibility with Python 3.8

This commit is contained in:
Marius Stanciu
2020-04-01 18:45:20 +03:00
committed by Marius
parent d326524fe3
commit 3d39916b5f
17 changed files with 72 additions and 67 deletions

View File

@@ -518,7 +518,7 @@ class ObjectCollection(QtCore.QAbstractItemModel):
self.endInsertRows()
# Expand group
if group.child_count() is 1:
if group.child_count() == 1:
self.view.setExpanded(group_index, True)
self.app.should_we_save = True