mirror of
https://github.com/pdxlocations/contact.git
synced 2026-08-07 01:13:19 +02:00
Fix display glitch
When deleting a channel made the newly selected channel one that had a notification, we didn't clear the notification symbol
This commit is contained in:
@@ -646,6 +646,7 @@ def main_ui(stdscr):
|
||||
|
||||
del globals.channel_list[globals.selected_channel]
|
||||
globals.selected_channel = min(globals.selected_channel, len(globals.channel_list) - 1)
|
||||
select_channel(globals.selected_channel)
|
||||
draw_channel_list()
|
||||
draw_messages_window()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user