From e8669e3dee1a17e4eab3bebe4527fe3332dbe21e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 15 Dec 2015 20:20:57 +0000 Subject: 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 --- src/mir_app/src/menu_tray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_app') 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) { -- cgit v1.2.3