aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/account.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 /widgets/account.go
parent1265d9cff8ea2ceaaa3a0202ddbd8681357bc043 (diff)
downloadaerc-2f5c1db63c55173d15a7ab17a9b75564fabd3648.tar.gz
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 'widgets/account.go')
0 files changed, 0 insertions, 0 deletions