Commit 9bbc4a0c authored by yann300's avatar yann300 Committed by davidzagi93@gmail.com

fix initiallizing currentFile

parent 5cf326f9
......@@ -114,7 +114,6 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA
}
async onActivation () {
this.currentFile = await this.call('fileManager', 'file')
super.onActivation()
this.call('filePanel', 'registerContextMenuItem', {
id: 'solidity',
......@@ -125,6 +124,7 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA
path: [],
pattern: []
})
this.currentFile = await this.call('fileManager', 'file')
}
getCompilerParameters () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment