Macro Unbind Numpad Shortcuts/it

When entering numbers, and the number input box is not properly focused, FreeCAD will react to digits by switching standard views. This macro is a quick way to re-bind the shortcuts to Ctrl+number. Doesn't help very much with entering numbers, but at least the view won't spin like crazy.

See forum thread How to turn off (disable) Numpad navigation?

How to use:
1. Copy-paste macro code to Py console of FreeCAD.

2. Press enter twice (to make sure everything is executed).

3. Restart FreeCAD for the changes to take effect.