Code looks right to me.  Have you tried another version of Maya/machine/OS?  
Maybe it's specific to one of those combinations.

On Wednesday, January 9, 2013 2:46:26 AM UTC-8, Christopher wrote:
> I have a customContextMenu that works in a regular, external pyqt app, but 
> crashes Maya.
> 
> Whether I connect the signal/slot like so:
> 
> self.connect(self.ui.tree, QtCore.SIGNAL("customContextMenuRequested(QPoint)" 
> ), self.openMenu)
> 
> 
> 
> Or so:
> self.ui.tree.customContextMenuRequested.connect(self.openMenu)
> 
> 
> 
> 
> Here's the open menu:
> http://pastebin.com/ThmAwXnd
> 
> 
> 
> 
> Right after printing the action, Maya crashes. It seems on exit of the 
> openMenu. Maya callstack attached (crashes on renderWindowSelectContextItem)
> 
> 
> -- 
> CE

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].


Reply via email to