fixes #11533: TypeError in: FreeCADGui.getMainWindow().windowStateChanged

This commit is contained in:
wmayer
2023-11-27 15:27:18 +01:00
committed by Chris Hennes
parent fac94ba932
commit 9fb08b887d
6 changed files with 9 additions and 8 deletions

View File

@@ -189,8 +189,7 @@ PythonToCppFunc toCppPointerCheckFuncQuantity(PyObject* obj)
{
if (PyObject_TypeCheck(obj, &(Base::QuantityPy::Type)))
return toCppPointerConvFuncQuantity;
else
return nullptr;
return nullptr;
}
void BaseQuantity_PythonToCpp_QVariant(PyObject* pyIn, void* cppOut)