make sure current File is set before activating

pull/1342/head
yann300 3 years ago committed by davidzagi93@gmail.com
parent ade6fdf5a6
commit a9016b7c4b
  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