Disable rename and delete button for restricted character on character editor spawn (fix for #930)

This commit is contained in:
blitzmann
2017-01-26 21:33:13 -05:00
parent 5614cec19d
commit 397084a9ff

View File

@@ -158,6 +158,8 @@ class CharacterEditor(wx.Frame):
self.Bind(GE.CHAR_LIST_UPDATED, self.refreshCharacterList)
self.entityEditor.Bind(wx.EVT_CHOICE, self.charChanged)
self.charChanged(None)
def btnRestrict(self):
char = self.entityEditor.getActiveEntity()