Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix ctkLanguageComboBox normalizing default language and selection #1179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 16, 2024

  1. BUG: Fix ctkLanguageComboBox normalizing default language and selection

    Discovered during the resolution of issues in `ctkLanguageComboBoxTest`, this
    commit addresses a bug in the normalization and selection of the default language
    in `ctkLanguageComboBox`.
    
    It introduces the function `normalizeLocaleCode` to ensure that the default locale
    code is set to its normalized value if valid.
    
    Furthermore, the `updateLanguageItems()` function is updated to select the default
    locale code if the user has not already made a selection.
    
    Co-authored-by: Andras Lasso <[email protected]>
    jcfr and lassoan committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    9e7f262 View commit details
    Browse the repository at this point in the history