Skip to content

Discard int conversions to fix WB loading

If you try to load the Draft workbench you'll see errors like the following.

Error: Initializing one or more of the Draft modules failed, Draft will not work as expected.
...

This is due to int conversions being done on QDialogButtonBox.StandardButton, which doesn't support them. I've sent a patch to FreeCAD (FreeCAD#13611) but it has to be adapted to our version. Related to #5 (closed) and FreeCAD#13605.

Merge request reports