diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-09-15 10:40:52 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-09-15 10:54:56 -0300 |
commit | cd7dac40f758f821514693c6d7d4c449a9f81240 (patch) | |
tree | bdb4ce55c996e45c1415fc0b678addf8291dccd3 /libpyside/signalmanager.cpp | |
parent | 5ce6221efae57de30c04f1069d294f4e6275bf85 (diff) |
Don't ignore exceptions caused by property getters and setters.
The exception is ignored only if the call was a meta call.
Diffstat (limited to 'libpyside/signalmanager.cpp')
-rw-r--r-- | libpyside/signalmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpyside/signalmanager.cpp b/libpyside/signalmanager.cpp index f9c36eeae..8208796b2 100644 --- a/libpyside/signalmanager.cpp +++ b/libpyside/signalmanager.cpp @@ -377,6 +377,8 @@ int SignalManager::qt_metacall(QObject* object, QMetaObject::Call call, int id, args[0] = data; Py_DECREF(value); + } else if (PyErr_Occurred()) { + PyErr_Print(); // Clear any errors but print them to stderr } break; } |