summaryrefslogtreecommitdiff
path: root/plugins/WebView/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WebView/src/main.cpp')
-rw-r--r--plugins/WebView/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/WebView/src/main.cpp b/plugins/WebView/src/main.cpp
index 1becb0a577..a0cb6460e7 100644
--- a/plugins/WebView/src/main.cpp
+++ b/plugins/WebView/src/main.cpp
@@ -178,8 +178,7 @@ extern "C" int __declspec(dllexport) Load()
/*DISABLE WEBVIEW*/
CreateServiceFunction("DisableWebview", AutoUpdateMCmd);
- mi.position = 20200001;
- mi.ptszPopupName = _T(MODULENAME);
+ mi.hParentMenu = Menu_CreateRoot(MO_MAIN, _T(MODULENAME), 20200001);
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_SITE));
if (db_get_b(NULL, MODULENAME, DISABLE_AUTOUPDATE_KEY, 0))
mi.ptszName = LPGENT("Auto update disabled");