mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix default theme change
This commit is contained in:
parent
d18a3199d4
commit
371c9b8fb8
@ -15,6 +15,7 @@ Change Log
|
||||
### Fixes
|
||||
|
||||
- Fix an issue where the Unicode code point field in the document inspector displayed always “not selected.”
|
||||
- Fix an issue where default theme change in the preferences was not applied to opened documents under specific conditions.
|
||||
- Fix an issue where unescaping replacement string in the regular expression replacement failed with specific text patterns.
|
||||
- Fix an issue where the editor's line height and tab width in the opened windows did not update even the setting is changed.
|
||||
- Fix an issue in scripting where settings some properties, such as `tab width`, `tab expands` and `wrap lines`, in the document creation phase were ignored.
|
||||
|
@ -324,8 +324,8 @@ final class AppearancePaneController: NSViewController, NSMenuItemValidation, NS
|
||||
case .dark: return true
|
||||
}
|
||||
}()
|
||||
UserDefaults.standard[.theme] = themeName
|
||||
UserDefaults.standard[.pinsThemeAppearance] = (isDarkTheme != isDarkAppearance)
|
||||
UserDefaults.standard[.theme] = themeName
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user