Save configuration changes to the user config file. Attributes accessed: extensions Methods: set_extension_value
(self)
| 2062 | return self.ext_userCfg.SetOption(section, name, value) |
| 2063 | |
| 2064 | def save_all_changed_extensions(self): |
| 2065 | """Save configuration changes to the user config file. |
| 2066 | |
| 2067 | Attributes accessed: |
| 2068 | extensions |
| 2069 | |
| 2070 | Methods: |
| 2071 | set_extension_value |
| 2072 | """ |
| 2073 | has_changes = False |
| 2074 | for ext_name in self.extensions: |
| 2075 | options = self.extensions[ext_name] |
| 2076 | for opt in options: |
| 2077 | if self.set_extension_value(ext_name, opt): |
| 2078 | has_changes = True |
| 2079 | if has_changes: |
| 2080 | self.ext_userCfg.Save() |
| 2081 | |
| 2082 | |
| 2083 | class HelpFrame(LabelFrame): |
no test coverage detected