Update the preferences stored on disk.
| 219 | |
| 220 | /// Update the preferences stored on disk. |
| 221 | bool ThemePrefs::Commit() |
| 222 | { |
| 223 | ShuttleGui S(this, eIsSavingToPrefs); |
| 224 | PopulateOrExchange(S); |
| 225 | |
| 226 | theTheme.LoadPreferredTheme(); |
| 227 | theTheme.DeleteUnusedThemes(); |
| 228 | AColor::ApplyUpdatedImages(); |
| 229 | return true; |
| 230 | } |
| 231 | |
| 232 | void ThemePrefs::Cancel() |
| 233 | { |
nothing calls this directly
no test coverage detected