Added new supported items in itemRemove item class.
Added the ability to remove charges and projected items using the itemRemove built in context menu. In this commit I fixed a minor bug in the projected view that caused the right clicked item not to be SHOWN as selected until after the context menu had been spawned and closed. I also removed all parent references from the ContextMenu class and sub classes. I am instead using the fit service to do all the work of removing the items in the itemRemove class.
This commit is contained in:
@@ -304,8 +304,8 @@ class SkillTreeView (wx.Panel):
|
||||
srcContext = "skillItem"
|
||||
itemContext = "Skill"
|
||||
context = (srcContext, itemContext)
|
||||
self.statsMenu = ContextMenu.getMenu(self, None, context)
|
||||
self.levelChangeMenu = ContextMenu.getMenu(self, None, context) or wx.Menu()
|
||||
self.statsMenu = ContextMenu.getMenu( None, context)
|
||||
self.levelChangeMenu = ContextMenu.getMenu( None, context) or wx.Menu()
|
||||
self.levelChangeMenu.AppendSeparator()
|
||||
self.levelIds = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user