Commit ec84a467 authored by Iuri Matias's avatar Iuri Matias Committed by yann300

fix missing event trigger in solidity state logic

parent 37a7d3d2
......@@ -23,8 +23,7 @@ class DebuggerSolidityState {
var decodeTimeout = null
this.parent.event.register('indexChanged', this, function (index) {
if (index < 0) {
self.setMessage('invalid step index')
return
return self.event.trigger('solidityStateMessage', ['invalid step index'])
}
if (self.parent.currentStepIndex !== index) return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment