Fixes #1151 (applied the same trick to the GeneralEdit window)