Fixed text staying on screen

This commit is contained in:
Xavier 2015-05-25 20:56:50 -04:00
parent 00b94dc669
commit b65375e482

View file

@ -55,7 +55,7 @@ class LanguageSelector:
text_shadow=(0, 0, 0, 1), command=self.destroy) text_shadow=(0, 0, 0, 1), command=self.destroy)
def destroy(self): def destroy(self):
for element in [self.background, self.title, self.current, self.available, self.english, self.french, self.backButton, self.confirmDialog]: for element in [self.background, self.title, self.current, self.available, self.english, self.french, self.portuguese, self.german, self.backButton, self.confirmDialog]:
if element: if element:
element.destroy() element.destroy()
element = None element = None