Changing anything in Format >> Script Writing >> Script Settings will crash the program

A bug occurs when changing my default font by going into Format,>> Script Writing >> Script Settings. if I change anything in those settings it leads to a crash.

System information:
Windows 10 pro.
Windows version: 1903
Windows Build: 18362.535
64-bit operating system.