[Bug 40866] DigitalMicrograph: crashes when a new script is added to the menu