Teach Workspace::reset() to properly reset hasActiveTextEditor

This commit is contained in:
Jason Rudolph
2017-06-02 15:56:13 -04:00
parent 2347c9bdaa
commit e1719a8923

View File

@@ -297,6 +297,7 @@ module.exports = class Workspace extends Model {
bottom: this.createDock('bottom')
}
this.activePaneContainer = this.paneContainers.center
this.hasActiveTextEditor = false
this.panelContainers = {
top: new PanelContainer({viewRegistry: this.viewRegistry, location: 'top'}),