From 3b9b3eaf566a685e56544a3bb69af3a679810101 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Jan 2016 15:48:10 +0000 Subject: menu reset must also destroy custom names git-svn-id: http://svn.miranda-ng.org/main/trunk@16087 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_app/src/menu_options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mir_app/src/menu_options.cpp b/src/mir_app/src/menu_options.cpp index ab06252f2b..f5348f8b43 100644 --- a/src/mir_app/src/menu_options.cpp +++ b/src/mir_app/src/menu_options.cpp @@ -171,7 +171,7 @@ class CGenMenuOptionsPage : public CDlgBase MenuItemOptData *PD = new MenuItemOptData(); PD->pimi = p; PD->defname = mir_tstrdup(GetMenuItemText(p)); - PD->name = mir_tstrdup((p->ptszCustomName != NULL) ? p->ptszCustomName : PD->defname); + PD->name = mir_tstrdup((bReread && p->ptszCustomName != NULL) ? p->ptszCustomName : PD->defname); PD->bShow = (p->mi.flags & CMIF_HIDDEN) == 0; PD->pos = (bReread) ? p->mi.position : p->originalPosition; PD->id = p->iCommand; -- cgit v1.2.3