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

@@ -202,7 +202,7 @@ class CommandView(d.Display):
context = ((fitSrcContext, fitItemContext),)
context += (("commandView",),)
menu = ContextMenu.getMenu((item,) if item is not None else [], *context)
menu = ContextMenu.getMenu(item, (item,) if item is not None else [], *context)
if menu is not None:
self.PopupMenu(menu)