소스 검색

Finish populating on revert

Steven Silvester 8 년 전
부모
커밋
bd74c94c0f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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({