diff options
author | dartraiden <wowemuh@gmail.com> | 2021-03-19 17:37:17 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2021-03-19 17:37:31 +0300 |
commit | 79478c645fcec54f2fdc9ed22068fb2fdbd0120e (patch) | |
tree | 464e26bfbd8538241445f6e48ba34d62441382cb /plugins | |
parent | e8f5997b1543b7a5768dda75c39ae3ac191e1a32 (diff) |
BossKey: disable menu item by default
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/BossKeyPlus/src/BossKey.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index 97b667d74b..e5194fd2af 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -513,6 +513,7 @@ static void BossKeyMenuItemInit(void) // Add menu item mi.name.w = LPGENW("Hide");
mi.pszService = MS_BOSSKEY_HIDE;
g_hMenuItem = Menu_AddMainMenuItem(&mi);
+ Menu_ConfigureItem(hUserMenu, MCI_OPT_DISABLED, TRUE);
HookEvent(ME_CLIST_PREBUILDMAINMENU, GenMenuInit);
}
|