- Skip off-by-one in text-channel chooser

This commit is contained in:
trigg 2020-10-20 18:42:52 +00:00
parent 2215bfd9e7
commit e6045a9244

View file

@ -76,7 +76,7 @@ class TextSettingsWindow(SettingsWindow):
# potentially organize channels by their group/parent_id
# https://discord.com/developers/docs/resources/channel#channel-object-channel-structure
c_model = Gtk.ListStore(str, bool)
self.channel_lookup = ["0"]
self.channel_lookup = []
for guild in self.guild_list():
guild_id, guild_name = guild