fix 'hideWarning'

pull/3094/head
yann300 6 years ago
parent 1638f4aea1
commit b1de0dc7f0
  1. 4
      src/app/tabs/compile-tab.js

@ -212,8 +212,8 @@ module.exports = class CompileTab {
function updateAutoCompile (event) { self._deps.config.set('autoCompile', self._view.autoCompile.checked) } function updateAutoCompile (event) { self._deps.config.set('autoCompile', self._view.autoCompile.checked) }
function compile (event) { self._deps.app.runCompiler() } function compile (event) { self._deps.app.runCompiler() }
function hideWarnings (event) { function hideWarnings (event) {
self._opts.config.set('hideWarnings', self._view.hideWarningsBox.checked) self._deps.config.set('hideWarnings', self._view.hideWarningsBox.checked)
self._api.runCompiler() compile()
} }
function getContractProperty (property) { function getContractProperty (property) {
const select = self._view.contractNames const select = self._view.contractNames

Loading…
Cancel
Save