handle unwanted switching away from uml tab

pull/3363/head
Joseph Izang 2 years ago committed by Aniket
parent b522d7c8aa
commit 6874ea8947
  1. 1
      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 })
}

Loading…
Cancel
Save