From ab88cc3e89bd16f865f1fba79c733024c078c68e Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 14 Feb 2023 14:32:29 +0100 Subject: [PATCH] handle unwanted switching away from uml tab --- apps/remix-ide/src/app/plugins/solidity-umlgen.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/remix-ide/src/app/plugins/solidity-umlgen.tsx b/apps/remix-ide/src/app/plugins/solidity-umlgen.tsx index 1b49d8998a..72ee6a4100 100644 --- a/apps/remix-ide/src/app/plugins/solidity-umlgen.tsx +++ b/apps/remix-ide/src/app/plugins/solidity-umlgen.tsx @@ -84,6 +84,7 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen { const mangled = await this.mangleSvgPayload(payload) this.updatedSvg = mangled this.renderComponent() + await this.call('tabs', 'focus', 'solidityumlgen') } catch (error) { console.log({ error }) }