Pass calling window to context menu

This commit is contained in:
DarkPhoenix
2019-07-30 19:12:45 +03:00
parent 5a0ca503c1
commit cd20164d7a
49 changed files with 199 additions and 204 deletions

View File

@@ -325,7 +325,7 @@ class ProjectedView(d.Display):
contexts.append(('projected',))
selection = self.getSelectedProjectors()
menu = ContextMenu.getMenu(mainItem, selection, *contexts)
menu = ContextMenu.getMenu(self, mainItem, selection, *contexts)
if menu is not None:
self.PopupMenu(menu)