make sure current File is set before activating

pull/5370/head
yann300 3 years ago
parent cc912bbdfe
commit 9bc660ee5c
  1. 3
      apps/remix-ide/src/app/tabs/compile-tab.js

@ -113,7 +113,8 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA
return super.compileFile(event)
}
onActivation () {
async onActivation () {
this.currentFile = await this.call('fileManager', 'file')
super.onActivation()
this.call('filePanel', 'registerContextMenuItem', {
id: 'solidity',

Loading…
Cancel
Save