From 9dd2a1dc44b5b12694e9fc7cc1197541867b7d7c Mon Sep 17 00:00:00 2001 From: DevilXD Date: Thu, 3 Mar 2022 20:20:19 +0100 Subject: [PATCH] Fix a bug with GUI's ChannelList.clear not clearing the channel map --- gui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gui.py b/gui.py index 9390916..4fed9c5 100644 --- a/gui.py +++ b/gui.py @@ -695,6 +695,7 @@ class ChannelList: def clear(self): iids = self._table.get_children() self._table.delete(*iids) + self._channel_map.clear() def display(self, channel: Channel, *, add: bool = False): # priority