1. Armin Rigo
  2. cpython-withatomic


Kurt B. Kaiser  committed b871b94

Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
button) caused IDLE to fail on restart (no new keyset was created in
config-keys.cfg). Also true for Theme/highlights. Python Bug 1064535.

M configDialog.py

  • Participants
  • Parent commits b4adb10
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/idlelib/configDialog.py

View file
  • Ignore whitespace
                         cfgTypeHasChanges = True
             if cfgTypeHasChanges:
+        for configType in ['keys', 'highlight']:
+            # save these even if unchanged!
+            idleConf.userCfg[configType].Save()
         self.ResetChangedItems() #clear the changed items dict
     def ActivateConfigChanges(self):