remove another dupe from TourneyFilters

This commit is contained in:
steffen123 2010-07-27 18:41:51 +02:00
parent e006db3a2d
commit fd4e421ca3
2 changed files with 2 additions and 9 deletions

View File

@ -884,6 +884,7 @@ class Filters(threading.Thread):
for w in self.mainVBox.get_children():
w.destroy()
self.make_filter()
#end def __refresh
def __toggle_box(self, widget, entry):
if self.boxes[entry].props.visible:

View File

@ -63,20 +63,12 @@ class TourneyFilters(Filters.Filters):
self.make_filter()
#end def __init__
def __refresh(self, widget, entry):
def __refresh(self, widget, entry): #identical with Filters
for w in self.mainVBox.get_children():
w.destroy()
self.make_filter()
#end def __refresh
def __set_hero_name(self, w, site):
_name = w.get_text()
# get_text() returns a str but we want internal variables to be unicode:
_guiname = unicode(_name)
self.heroes[site] = _guiname
#log.debug("setting heroes[%s]: %s"%(site, self.heroes[site]))
#end def __set_hero_name
def __set_num_tourneys(self, w, val):
try:
self.numTourneys = int(w.get_text())