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:
parent
5ce6221efa
commit
cd7dac40f7
3 changed files with 10 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue