fixed typos

This commit is contained in:
iLLiCiTiT 2021-06-10 17:46:51 +02:00
parent f7c8ec1c00
commit c91a463775
2 changed files with 3 additions and 3 deletions

View file

@ -172,7 +172,7 @@ class TypeDelegate(QtWidgets.QStyledItemDelegate):
class ToolsDelegate(QtWidgets.QStyledItemDelegate):
"""Specific delegate for "tools_env" key.
Exected that editor will be used only on AssetItem which is only item that
Expected that editor will be used only on AssetItem which is only item that
can have `tools_env` (except project).
Delegate requires tools cache which is shared across all ToolsDelegate

View file

@ -441,7 +441,7 @@ class HierarchyModel(QtCore.QAbstractItemModel):
return self.index_from_item(row, column, parent_item)
def index_for_item(self, item, column=0):
"""Index for passet item.
"""Index for passed item.
This is for cases that index operations are required on specific item.
@ -592,7 +592,7 @@ class HierarchyModel(QtCore.QAbstractItemModel):
"""Remove deletion flag on items with matching ids.
Flag is also removed on all parents of passed children as it wouldn't
make sence to not to do so.
make sense to not to do so.
Children of passed item ids are by default also unset for deletion.