Set object's Restore flag while restoring the Path property.

This commit is contained in:
Markus Lampert
2017-08-20 17:20:55 -07:00
parent dd66a9c9fc
commit 39d987bee3
2 changed files with 18 additions and 2 deletions

View File

@@ -134,8 +134,8 @@ class ToolController:
def onChanged(self, obj, prop):
PathLog.track('prop: {} state: {}'.format(prop, obj.State))
if 'Restore' not in obj.State:
if 'Path' == prop and 'Restore' not in obj.State:
PathLog.debug("--- dirty deeds")
job = PathScripts.PathUtils.findParentJob(obj)
if job is not None:
for g in job.Group: