Move shrink to gui.clear

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

No files matched your search

+1
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
-1
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)