summaryrefslogtreecommitdiff
path: root/protocols/Weather/src/weather.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-10 18:16:45 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-10 18:16:45 +0300
commit24f1172138e3ddfc50cb79c5eea488af3c834a72 (patch)
tree6cc64818bc870f95f11016f1330576ae72db1aeb /protocols/Weather/src/weather.cpp
parentd5c6af21d737670e4abbdb6521e5c8e3d074fee8 (diff)
fixes #4969 (Weather: не работают пункты в главном меню)
Diffstat (limited to 'protocols/Weather/src/weather.cpp')
-rw-r--r--protocols/Weather/src/weather.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Weather/src/weather.cpp b/protocols/Weather/src/weather.cpp
index 884362d1a5..b0ee091b46 100644
--- a/protocols/Weather/src/weather.cpp
+++ b/protocols/Weather/src/weather.cpp
@@ -102,6 +102,9 @@ int CMPlugin::Load()
hDataWindowList = WindowList_Create();
hWindowList = WindowList_Create();
+ // add global menus
+ CWeatherProto::GlobalMenuInit();
+
// add sound event
addSound("weatherupdated", _A2W(MODULENAME), LPGENW("Condition Changed"));
addSound("weatheralert", _A2W(MODULENAME), LPGENW("Alert Issued"));