Make sure project we import into is active.

This commit is contained in:
Jürg Lehni 2013-05-27 23:48:16 -07:00
parent 85920bbdb8
commit 0f74c01f75

View file

@ -270,6 +270,7 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
// Unbox project data, as we don't want to create a new project object.
if (json[0] === 'Project')
json = json[1];
this.activate();
return Base.importJSON(json);
},