prepopoulate the selected guild in the dropdown if one is already selected

This commit is contained in:
Adrian Edwards 2020-10-18 16:10:07 -07:00
parent e145437c62
commit fbd3c5b28e

View file

@ -81,6 +81,15 @@ class TextSettingsWindow(SettingsWindow):
break
idx += 1
idxg = 0
for g in self.guild_lookup:
if g == self.guild:
self.ignore_guild_change = True
self.guild_widget.set_active(idxg)
self.ignore_guild_change = False
break
idxg += 1
def guild_list(self):
guilds = []
done = []