summaryrefslogtreecommitdiff
path: root/plugins/Sessions/Src/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Sessions/Src/Main.cpp')
-rw-r--r--plugins/Sessions/Src/Main.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp
index 10c2929aec..153ab20540 100644
--- a/plugins/Sessions/Src/Main.cpp
+++ b/plugins/Sessions/Src/Main.cpp
@@ -795,11 +795,10 @@ static int PluginInit(WPARAM, LPARAM)
// Main menu
CLISTMENUITEM cl = { 0 };
cl.position = 1000000000;
- cl.flags = CMIM_ALL;
cl.pszName = LPGEN("Save session...");
cl.pszPopupName = LPGEN("Sessions Manager");
- cl.icolibItem = iconList[0].hIcolib;
+ cl.icolibItem = iconList[4].hIcolib;
cl.pszService = MS_SESSIONS_SAVEUSERSESSION;
hmSaveCurrentSession = Menu_AddMainMenuItem(&cl);
@@ -818,12 +817,6 @@ static int PluginInit(WPARAM, LPARAM)
cl.icolibItem = iconList[5].hIcolib;
cl.position = 10100000;
Menu_AddMainMenuItem(&cl);
-
- memset(&cl, 0, sizeof(cl));
- cl.flags = CMIM_ICON;
- cl.icolibItem = iconList[4].hIcolib;
- Menu_ModifyItem(hmSaveCurrentSession, &cl);
-
return 0;
}