fix pyside compatibility refs #2656
Merge commit '4de3288cf25dca6af7b4f17ac086d380246eaafa'