From 442477a622e03f2b8393025e6bd1f96cbc88f532 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 5 Mar 2019 09:39:54 +0100 Subject: [PATCH] fix selected version --- src/app/tabs/compile-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index 4a1fe61d50..bd2f052271 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -81,7 +81,7 @@ class CompileTab { this.compiler.event.register('compilationFinished', (success, data, source) => { if (success) { // forwarding the event to the appManager infra - this.events.emit('compilationFinished', source.target, source, this.data.selectedVersion, data) + this.events.emit('compilationFinished', source.target, source, this.compilerContainer.data.selectedVersion, data) // Store the contracts this.data.contractsDetails = {} this.compiler.visitContracts((contract) => {