mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
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
This commit is contained in:
parent
49d4213974
commit
5acdf93081
1 changed files with 3 additions and 0 deletions
|
|
@ -1165,6 +1165,9 @@ class ConfigDialog(Toplevel):
|
|||
cfgTypeHasChanges = True
|
||||
if cfgTypeHasChanges:
|
||||
idleConf.userCfg[configType].Save()
|
||||
for configType in ['keys', 'highlight']:
|
||||
# save these even if unchanged!
|
||||
idleConf.userCfg[configType].Save()
|
||||
self.ResetChangedItems() #clear the changed items dict
|
||||
|
||||
def ActivateConfigChanges(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue