Always update state after initialising to ensure defaults etc are populated in the state

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent 20ae6c4a5d
commit a8d546957d

@ -136,6 +136,8 @@ define(function (require) {
this.container.layoutManager.root.contentItems[0];
insertPoint.addChild(cloneComponent());
}, this));
this.saveState();
}
Compiler.prototype.refresh = function () {

@ -172,6 +172,8 @@ define(function (require) {
}, this));
Sharing.initShareButton(this.domRoot.find('.share'), container.layoutManager);
this.updateState();
}
Editor.prototype.maybeEmitChange = function (force) {

Loading…
Cancel
Save