Fix a bug with GUI's ChannelList.clear not clearing the channel map
This commit is contained in:
1 parent
4a4b4251ac
commit
9dd2a1dc44
1 file changed
+1
@@ -695,6 +695,7 @@ class ChannelList:
|
|||||||
def clear(self):
|
def clear(self):
|
||||||
iids = self._table.get_children()
|
iids = self._table.get_children()
|
||||||
self._table.delete(*iids)
|
self._table.delete(*iids)
|
||||||
|
self._channel_map.clear()
|
||||||
|
|
||||||
def display(self, channel: Channel, *, add: bool = False):
|
def display(self, channel: Channel, *, add: bool = False):
|
||||||
# priority
|
# priority
|
||||||
|
|||||||
Reference in new issue
Block a user