summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-12-30 16:15:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-12-30 16:15:51 +0000
commitdb90dca1d7e6c474e9eac64d09ba46aa121dfdc5 (patch)
treef65fad8bfd959fc1d27de2c2c4e4953a23f24c92 /src/mir_app
parentaf227aa7653dc726c3caf22fbeeebad38e717dd7 (diff)
there's no need to reset the whole menu when we change a single custom name
git-svn-id: http://svn.miranda-ng.org/main/trunk@15970 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/menu_options.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mir_app/src/menu_options.cpp b/src/mir_app/src/menu_options.cpp
index eb68f2ddca..44380a74e5 100644
--- a/src/mir_app/src/menu_options.cpp
+++ b/src/mir_app/src/menu_options.cpp
@@ -468,8 +468,9 @@ public:
iod->name = m_customName.GetText();
- SaveTree();
- RebuildCurrent();
+ tvi.mask = TVIF_TEXT;
+ tvi.pszText = iod->name;
+ m_menuItems.SetItem(&tvi);
NotifyChange();
}