Pass calling window to context menu
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user