@ -191,6 +191,15 @@ class Editor extends Plugin {
}
if (name === this.currentFile) {
this.currentFile = name
this.renderComponent()
})
this.on('fileManager', 'noFileSelected', async () => {
this.currentFile = null
try {
this.currentThemeType = (await this.call('theme', 'currentTheme')).quality