Move shrink to gui.clear

This commit is contained in:
DevilXD
2022-03-30 20:55:56 +02:00
parent 097215ce7d
commit 427c845ca2
2 changed files with 1 additions and 1 deletions

1
gui.py
View File

@@ -708,6 +708,7 @@ class ChannelList:
iids = self._table.get_children()
self._table.delete(*iids)
self._channel_map.clear()
self.shrink()
def display(self, channel: Channel, *, add: bool = False):
# priority

View File

@@ -322,7 +322,6 @@ class Twitch:
# set our new channel list
channels.clear()
self.gui.channels.clear()
self.gui.channels.shrink()
for channel in ordered_channels:
channels[channel.id] = channel
channel.display(add=True)