aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/settings/GUIWindowSettingsCategory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/settings/GUIWindowSettingsCategory.cpp b/xbmc/settings/GUIWindowSettingsCategory.cpp
index a491af3e41..655b78a1e6 100644
--- a/xbmc/settings/GUIWindowSettingsCategory.cpp
+++ b/xbmc/settings/GUIWindowSettingsCategory.cpp
@@ -1063,6 +1063,9 @@ void CGUIWindowSettingsCategory::OnClick(CBaseSettingControl *pSettingControl)
if (g_weatherManager.GetSearchResults(strSearch, strResult))
{
((CSettingString *)pSettingControl->GetSetting())->SetData(strResult);
+ // Update the labels on the location spinner
+ g_weatherManager.Reset();
+ // Refresh the weather using the new location
g_weatherManager.Refresh();
}
}