From 3f005689d62cfce7d0c4fdff1479ab5a72e43d77 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 20 Sep 2017 18:34:57 +0200 Subject: [PATCH] update context dropdown if needed --- src/app/tabs/run-tab.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index 28f73c5c40..b9c9db240b 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -85,6 +85,9 @@ function runTab (container, appAPI, appEvents) { }, setFinalContext) }) selectExEnv.value = executionContext.getProvider() + executionContext.event.register('contextChanged', (context, silent) => { + selectExEnv.value = executionContext.getProvider() + }) fillAccountsList(appAPI, el) setInterval(() => { updateAccountBalances(container, appAPI)