Don't ignore exceptions caused by property getters and setters.

The exception is ignored only if the call was a meta call.
This commit is contained in:
Hugo Parente Lima 2010-09-15 10:40:52 -03:00
commit cd7dac40f7
3 changed files with 10 additions and 5 deletions

View file

@ -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;
}