summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-12-15 20:20:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-12-15 20:20:57 +0000
commite8669e3dee1a17e4eab3bebe4527fe3332dbe21e (patch)
treec7d543a7534332346a81eeea8acf95d1dbc485e7 /src/mir_app
parent9febbb82d565d080e6bffe5fe1e4196c52b50f5e (diff)
tray menu reference to a main menu displays old items
git-svn-id: http://svn.miranda-ng.org/main/trunk@15871 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/menu_tray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/menu_tray.cpp b/src/mir_app/src/menu_tray.cpp
index 56634a193d..cc5edaee6a 100644
--- a/src/mir_app/src/menu_tray.cpp
+++ b/src/mir_app/src/menu_tray.cpp
@@ -85,7 +85,7 @@ static INT_PTR TrayMenuOnAddService(WPARAM wParam, LPARAM lParam)
if (hTrayMainMenuItemProxy == (HGENMENU)lParam) {
mii->fMask |= MIIM_SUBMENU;
- mii->hSubMenu = hMainMenu;
+ mii->hSubMenu = hMainMenu = Menu_GetMainMenu();
}
if (hTrayStatusMenuItemProxy == (HGENMENU)lParam) {