Fixed path model double click

This commit is contained in:
markus
2018-10-02 19:34:36 -07:00
committed by wmayer
parent 868baa6dd2
commit 293ac55262
3 changed files with 11 additions and 3 deletions

View File

@@ -65,6 +65,13 @@ def _OpenCloseResourceEditor(obj, vobj, edit):
job.ViewObject.Proxy.editObject(obj)
else:
job.ViewObject.Proxy.uneditObject(obj)
else:
missing = 'Job'
if job:
missing = 'ViewObject'
if job.ViewObject:
missing = 'Proxy'
PathLog.warning("Cannot edit %s - no %s" % (obj.Label, missing))
@contextmanager
def selectionEx():