diff --git a/openpype/tools/project_manager/project_manager/delegates.py b/openpype/tools/project_manager/project_manager/delegates.py index 758ab079a9..842352cba1 100644 --- a/openpype/tools/project_manager/project_manager/delegates.py +++ b/openpype/tools/project_manager/project_manager/delegates.py @@ -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. diff --git a/openpype/tools/project_manager/project_manager/model.py b/openpype/tools/project_manager/project_manager/model.py index 8ec4fe627d..76e673f920 100644 --- a/openpype/tools/project_manager/project_manager/model.py +++ b/openpype/tools/project_manager/project_manager/model.py @@ -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.