26 lines
881 B
Diff
26 lines
881 B
Diff
From 6fbd0243017e5731bb5db6bb6844833d97b4020e Mon Sep 17 00:00:00 2001
|
|
From: pei-jiankang <peijiankang@kylinos.cn>
|
|
Date: Tue, 1 Mar 2022 16:59:57 +0800
|
|
Subject: [PATCH] modify area-info display error
|
|
|
|
---
|
|
plugins/time-language/area/area.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/plugins/time-language/area/area.cpp b/plugins/time-language/area/area.cpp
|
|
index 409f894..048f2be 100644
|
|
--- a/plugins/time-language/area/area.cpp
|
|
+++ b/plugins/time-language/area/area.cpp
|
|
@@ -264,7 +264,7 @@ void Area::initComponent() {
|
|
int langIndex = lang.split(':').at(0) == "zh_CN" ? 1 : 0;
|
|
int formatIndex = res.at(0) == "zh_CN.UTF-8" ? 1 : 0;
|
|
// ui->langcomboBox->setCurrentIndex(langIndex);
|
|
- ui->countrycomboBox->setCurrentIndex(formatIndex);
|
|
+ ui->countrycomboBox->setCurrentIndex(langIndex);
|
|
|
|
initFormComponent(0b1111);
|
|
}
|
|
--
|
|
2.33.0
|
|
|