Howdy, I'm just starting to play with PySide in Maya. I want to create a window with a button that gets clicked if the enter/return key is hit.
I'm trying with self.myButton.setAutoDefault(True) as well as self.myButton.setDefault(True). Using these methods causes my button to have a darker border than regular buttons, but the enter key does nothing. I suspect maya is blocking this signal. The shortcut keys assigned to the buttons work as expected, I don't believe it is a window focus issue. Does anyone know how to capture the enter key for a custom window? Here's a full example: http://pastebin.com/mDGJkH3H Cheers, jesse -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
