Skip to content

Do not change locale if "Locale" in defaults is not present#592

Merged
rfm merged 1 commit intognustep:masterfrom
williameveretteggplant:patch-2
Apr 1, 2026
Merged

Do not change locale if "Locale" in defaults is not present#592
rfm merged 1 commit intognustep:masterfrom
williameveretteggplant:patch-2

Conversation

@williameveretteggplant
Copy link
Copy Markdown
Contributor

The defaultsDidChange: will trigger every time defaults change. If there is no "Locale" value in defaults it will change the _localeId of the autoupdatingLocale to nil. This change prevents it from updating the locale unless there is a value actually present in "Locale" in the defaults.

The defaultsDidChange: will trigger every time defaults change. If there is no "Locale" value in defaults it will change the _localeId of the autoupdatingLocale to nil. This change prevents it from updating the locale unless there is a value actually present in "Locale" in the defaults.
Copy link
Copy Markdown
Contributor

@rfm rfm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that looks good to me (and nice and simple)

@rfm rfm merged commit 4e72982 into gnustep:master Apr 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants