summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-01-13 15:48:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-01-13 15:48:10 +0000
commit3b9b3eaf566a685e56544a3bb69af3a679810101 (patch)
treef97d5c66ae8d5519421a5bb3671266282b26982e /src
parent8608402b9e3d0a57194e98d7a7d5de6bb8c5d43d (diff)
menu reset must also destroy custom names
git-svn-id: http://svn.miranda-ng.org/main/trunk@16087 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/menu_options.cpp2
1 files changed, 1 insertions, 1 deletions
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;