Fixed error in Rope preferences dialog.