mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
- weather-setup: clear postal code after choosing location from xml
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -147,6 +147,8 @@ int CWeatherSetup::selectLocation()
|
||||
delete selector;
|
||||
}
|
||||
|
||||
g_settings.weather_postalcode.clear();
|
||||
|
||||
g_settings.weather_location = locations[select].coords;
|
||||
g_settings.weather_city = std::string(locations[select].city);
|
||||
CWeather::getInstance()->setCoords(g_settings.weather_location, g_settings.weather_city);
|
||||
|
Reference in New Issue
Block a user