have you tried @pyqtSlot('QString') instead?
according to the docs for
QtCore.pyqtSignature()<http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/old_style_signals_slots.html#the-qtcore-pyqtsignature-decorator>it
should do the same thing (hopefully without the crash)
On Wednesday, September 12, 2012 4:47:30 PM UTC-7, Carlo wrote:
>
> Hey guys,
> I'm have this problem where for some reason the decorators I use for a
> Combobox in PyQt causes Maya 2013 to crash, but works perfectly fine in
> Maya 2012 and for any other Widget item.
>
> Ex. @pyqtSignature( 'QString')
> def on_my_Combo_activated( self):
> print( 'hey')
>
> Has anyone else run into this issue, and is there any other work around
> for solving this, besides not using decorators?
>
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe