mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-16 18:03:37 +02:00
weather-setup: clear postal code after choosing location from xml
Origin commit data
------------------
Commit: 1b896dd1d6
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-25 (Tue, 25 Jan 2022)
Origin message was:
------------------
- weather-setup: clear postal code after choosing location from xml
This commit is contained in:
@@ -147,6 +147,8 @@ int CWeatherSetup::selectLocation()
|
|||||||
delete selector;
|
delete selector;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_settings.weather_postalcode.clear();
|
||||||
|
|
||||||
g_settings.weather_location = locations[select].coords;
|
g_settings.weather_location = locations[select].coords;
|
||||||
g_settings.weather_city = std::string(locations[select].city);
|
g_settings.weather_city = std::string(locations[select].city);
|
||||||
CWeather::getInstance()->setCoords(g_settings.weather_location, g_settings.weather_city);
|
CWeather::getInstance()->setCoords(g_settings.weather_location, g_settings.weather_city);
|
||||||
|
Reference in New Issue
Block a user