fix an issue with restoring open files
Merge pull request #999 from devoncarew/devoncarw_fix_workspace_restore

fix an issue with restoring open files