added the into docstrings

This commit is contained in:
iLLiCiTiT 2021-06-10 18:12:24 +02:00
parent 30af1869b3
commit 012139e389
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -591,7 +591,7 @@ class HierarchyModel(QtCore.QAbstractItemModel):
def remove_delete_flag(self, item_ids, with_children=True):
"""Remove deletion flag on items with matching ids.
Flag is also removed on all parents of passed children as it wouldn't
The flag is also removed on all parents of passed children as it wouldn't
make sense to not to do so.
Children of passed item ids are by default also unset for deletion.