blob: 5c37efeffa324d5287fdd1af2e498c4e3064882f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From 413892849bea41da7af922074a485ff4891ff273 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 9 Sep 2016 13:23:48 -0400
Subject: [PATCH] update region while city changes
While user select US/Alaska from combobox at first time, the libtimezonemap
convert it to America/Anchorage, and anaconda gui page recognize it as
America/Alaska, the fix make sure region/city could be correctly updated.
Upstream-Status: Pending
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
pyanaconda/ui/gui/spokes/datetime_spoke.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.py b/pyanaconda/ui/gui/spokes/datetime_spoke.py
index 78a965ae5..ff4b69577 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.py
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py
@@ -919,7 +919,7 @@ class DatetimeSpoke(FirstbootSpokeMixIn, NormalSpoke):
"""
region = self._get_active_region()
- if not region or region == self._old_region:
+ if not region:
# region entry being edited or old_value chosen, no action needed
# @see: on_city_changed
return
|