From 10cb008ce036e614e7a4461c931c31a91e41b3ac Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 22 Jan 2022 00:51:16 +0100 Subject: [PATCH] weather-setup: show postcode in menu Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/7f3b57be98cdb43a322c28d3c85871c09c4dfd39 Author: vanhofen Date: 2022-01-22 (Sat, 22 Jan 2022) Origin message was: ------------------ - weather-setup: show postcode in menu ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/weather_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/weather_setup.cpp b/src/gui/weather_setup.cpp index 2fafcd3cf..24fd7d94f 100644 --- a/src/gui/weather_setup.cpp +++ b/src/gui/weather_setup.cpp @@ -94,7 +94,7 @@ int CWeatherSetup::showWeatherSetup() mf_wl->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_WEATHER_LOCATION); ms_oservices->addItem(mf_wl); - CMenuForwarder *mf_zip = new CMenuForwarder(LOCALE_WEATHER_LOCATION_POSTCODE, g_settings.weather_enabled, NULL, this, "find_location"); + CMenuForwarder *mf_zip = new CMenuForwarder(LOCALE_WEATHER_LOCATION_POSTCODE, g_settings.weather_enabled, g_settings.weather_postcode, this, "find_location"); mf_zip->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_WEATHER_LOCATION_POSTCODE); ms_oservices->addItem(mf_zip);