aboutsummaryrefslogtreecommitdiff
path: root/lib/ui/ui.go
diff options
context:
space:
mode:
authorMarkus Ongyerth <aerc@ongy.net>2018-06-13 07:00:57 +0200
committerDrew DeVault <sir@cmpwn.com>2018-06-13 07:00:12 -0400
commit2f5c1db63c55173d15a7ab17a9b75564fabd3648 (patch)
tree1dc40b9dc8de29de7dcd4428ee6bfa230450b8c3 /lib/ui/ui.go
parent1265d9cff8ea2ceaaa3a0202ddbd8681357bc043 (diff)
refactor lib/ui/tab to ensure staying in bounds
Fix a few potential out of bounds by placing proper checks, which should be relevant if all tabs are removed for some reason. Also avoid iterating all tabs in the invalidate handler, since we are only interested in whether it's the selected tab either way
Diffstat (limited to 'lib/ui/ui.go')
0 files changed, 0 insertions, 0 deletions