Fix panic on scroll

Fixes #932
This commit is contained in:
Zachary Yedidia
2017-11-27 21:44:29 -05:00
parent 5fc8f847a6
commit acd42df13c

View File

@@ -515,8 +515,10 @@ func main() {
view = tabs[curTab].views[v.Num]
}
}
view.HandleEvent(e)
didAction = true
if view != nil {
view.HandleEvent(e)
didAction = true
}
}
}
}