remove another dupe from TourneyFilters
This commit is contained in:
parent
e006db3a2d
commit
fd4e421ca3
|
@ -884,6 +884,7 @@ class Filters(threading.Thread):
|
||||||
for w in self.mainVBox.get_children():
|
for w in self.mainVBox.get_children():
|
||||||
w.destroy()
|
w.destroy()
|
||||||
self.make_filter()
|
self.make_filter()
|
||||||
|
#end def __refresh
|
||||||
|
|
||||||
def __toggle_box(self, widget, entry):
|
def __toggle_box(self, widget, entry):
|
||||||
if self.boxes[entry].props.visible:
|
if self.boxes[entry].props.visible:
|
||||||
|
|
|
@ -63,20 +63,12 @@ class TourneyFilters(Filters.Filters):
|
||||||
self.make_filter()
|
self.make_filter()
|
||||||
#end def __init__
|
#end def __init__
|
||||||
|
|
||||||
def __refresh(self, widget, entry):
|
def __refresh(self, widget, entry): #identical with Filters
|
||||||
for w in self.mainVBox.get_children():
|
for w in self.mainVBox.get_children():
|
||||||
w.destroy()
|
w.destroy()
|
||||||
self.make_filter()
|
self.make_filter()
|
||||||
#end def __refresh
|
#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):
|
def __set_num_tourneys(self, w, val):
|
||||||
try:
|
try:
|
||||||
self.numTourneys = int(w.get_text())
|
self.numTourneys = int(w.get_text())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user