diff --git a/pyfpdb/Filters.py b/pyfpdb/Filters.py index f282baa6..e1d876d4 100644 --- a/pyfpdb/Filters.py +++ b/pyfpdb/Filters.py @@ -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: diff --git a/pyfpdb/TourneyFilters.py b/pyfpdb/TourneyFilters.py index 3a8fa542..d2bce0ab 100644 --- a/pyfpdb/TourneyFilters.py +++ b/pyfpdb/TourneyFilters.py @@ -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())