Pass item which is considered to be clicked item to context menus

This commit is contained in:
DarkPhoenix
2019-04-22 15:45:37 +03:00
parent 881ec8b5b4
commit c03d000c45
14 changed files with 19 additions and 19 deletions

View File

@@ -134,7 +134,7 @@ class StatsPane(wx.Panel):
viewName = contentPanel.viewName
def handler(event):
menu = ContextMenu.getMenu(None, (viewName,))
menu = ContextMenu.getMenu(None, None, (viewName,))
if menu is not None:
contentPanel.PopupMenu(menu)