Commit d715520c authored by Han Young's avatar Han Young Committed by Nate Graham
Browse files

fix is default locale check

BUG: 460418


(cherry picked from commit 6e550880)
parent e84a0659
Pipeline #249496 passed with stage
in 17 minutes and 3 seconds
......@@ -83,13 +83,13 @@ void KCMRegionAndLang::save()
if (!settings()->isDefaultSetting(SettingType::PaperSize)) {
locales.append(settings()->paperSize());
}
if (settings()->isDefaultSetting(SettingType::Address)) {
if (!settings()->isDefaultSetting(SettingType::Address)) {
locales.append(settings()->address());
}
if (settings()->isDefaultSetting(SettingType::NameStyle)) {
if (!settings()->isDefaultSetting(SettingType::NameStyle)) {
locales.append(settings()->nameStyle());
}
if (settings()->isDefaultSetting(SettingType::PhoneNumbers)) {
if (!settings()->isDefaultSetting(SettingType::PhoneNumbers)) {
locales.append(settings()->phoneNumbers());
}
if (!settings()->language().isEmpty()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment