Browse Source

Finish populating on revert

Steven Silvester 8 years ago
parent
commit
bd74c94c0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/docregistry/context.ts

+ 1 - 1
src/docregistry/context.ts

@@ -274,7 +274,7 @@ class Context<T extends DocumentRegistry.IModel> implements DocumentRegistry.ICo
       this._updateContentsModel(contents);
       model.dirty = false;
       if (!this._isPopulated) {
-        this._populate();
+        return this._populate();
       }
     }).catch(err => {
       showDialog({