Fix a bug with the toggles

This commit is contained in:
cncfanatics
2010-08-24 01:04:50 +02:00
parent 20cb087175
commit 281ca0a989

View File

@@ -186,9 +186,9 @@ class MarketBrowser(wx.Panel):
btn = event.EventObject
if not ctrl:
for name in ("normal", "faction", "complex", "officer"):
btn = getattr(self, name)
btn.SetValue(False)
btn.Enable(True)
button = getattr(self, name)
button.SetValue(False)
button.Enable(True)
cMarket.disableMetaGroup(name)