Fix a bug where All 5 wouldn't get restricted if it was selected on

startup
This commit is contained in:
cncfanatics
2010-11-11 12:54:38 +01:00
parent 576d07297b
commit 4ad55d24e9

View File

@@ -118,7 +118,7 @@ class CharacterEditor(wx.Frame):
self.Centre(wx.BOTH)
charID = self.getActiveCharacter()
if cChar.getCharName(charID) == "All 0":
if cChar.getCharName(charID) in ("All 0", "All 5"):
self.restrict()
self.registerEvents()
@@ -491,7 +491,7 @@ class ImplantsTreeView (wx.Panel):
self.update(cChar.getImplants(charID))
class AvailableImplantsView(d.Display):
DEFAULT_COLS = ["Name",
DEFAULT_COLS = ["Base Name",
"attr:implantness"]
def __init__(self, parent, style):