diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-01-11 23:28:47 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-01-11 23:28:47 +0200 |
commit | 331597b9f8a7942cbcb233a328301e4d5bf94fb0 (patch) | |
tree | 5ec624585ebf66c63549a098acb6f7421f1193a7 /ui/room-list.go | |
parent | 2fc3378b717f40f37f3a188b68407887242d9c06 (diff) |
Switch to Go modules and make other changes
Diffstat (limited to 'ui/room-list.go')
-rw-r--r-- | ui/room-list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/room-list.go b/ui/room-list.go index 6b81e60..d82f870 100644 --- a/ui/room-list.go +++ b/ui/room-list.go @@ -456,7 +456,7 @@ func (list *RoomList) Draw(screen tcell.Screen) { for _, tag := range list.tags { trl := list.items[tag] tagDisplayName := list.GetTagDisplayName(tag) - if len(tagDisplayName) == 0 { + if trl == nil || len(tagDisplayName) == 0 { continue } |